diff --git a/include/c11log/details/blocking_queue.h b/include/c11log/details/blocking_queue.h
index 92a3ca63e59eca534fcc29c24ed93e5cc642a445..53071dc5aaca69bceb7e7efe0e13c6a425f58d3c 100644
--- a/include/c11log/details/blocking_queue.h
+++ b/include/c11log/details/blocking_queue.h
@@ -97,7 +97,7 @@ public:
     {
     	{
 			std::unique_lock<std::mutex> ul(mutex_);
-			q_ = queue_t{};
+			q_.swap(queue_t());
 		}
 		item_popped_cond_.notify_all();	    
     }
diff --git a/src/test.cpp b/src/test.cpp
index 58e143af1a7f1fa443969c9478e8543d0d86d95e..5f9424b5b5ac60f5c425c8a21934d96d3930ba45 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -86,9 +86,7 @@ void testq(int size, int pushers, int poppers)
 		
 	for(int i = 0; i < pushers; i++)
 		new std::thread(std::bind(pusher, &q));
-	
-	
-
+		
 	while(active)
 	{
 		using std::endl;