diff --git a/bitset.h b/bitset.h index b132a70..569a33d 100644 --- a/bitset.h +++ b/bitset.h @@ -93,7 +93,7 @@ class SyncBitset { */ bool test(uint32_t i) { bool ret; - ThreadSafe _ts(&mutex_m); + ThreadSafe _ts(&mutex_m); ret = testUnsync(i); return ret; } @@ -103,7 +103,7 @@ class SyncBitset { * it has been set. Uses synchronization. */ void set(uint32_t i) { - ThreadSafe _ts(&mutex_m); + ThreadSafe _ts(&mutex_m); while(i >= _sz) { // Slow path: bitset needs to be expanded before the // specified bit can be set @@ -123,7 +123,7 @@ class SyncBitset { * synchronization. */ void setOver(uint32_t i) { - ThreadSafe _ts(&mutex_m); + ThreadSafe _ts(&mutex_m); while(i >= _sz) { // Slow path: bitset needs to be expanded before the // specified bit can be set