diff --git a/src/misc/spin_lock.h b/src/misc/spin_lock.h index c2b390f..03fb00a 100644 --- a/src/misc/spin_lock.h +++ b/src/misc/spin_lock.h @@ -13,7 +13,7 @@ class spin_lock { #ifdef WIN32 while(locked._My_flag > 0) { #else - while(locked._M_i) { + while(locked._M_i) { #endif //Yield when we're using this lock for a longer time, which we usually not doing if(round++ % 8 == 0)