Cleaned up code.

This commit is contained in:
Jari Sundell
2011-12-14 13:38:16 +09:00
parent ee859a6137
commit 1c1993acef
+1 -1
View File
@@ -82,7 +82,7 @@ public:
throw torrent::internal_error("Overflowed thread_queue.");
__sync_bool_compare_and_swap(itr, NULL, v);
__sync_bool_compare_and_swap(&m_lock, 1, 0);
unlock();
}
value_type* copy_and_clear(value_type* dest) {