Removed trailing spaces
[libcds.git] / cds / sync / spinlock.h
index f42d5eb4b8246537f34c2b95574c003c13510b76..f3a915840bcfc3dfe8b5940ce72aa38a82e346be 100644 (file)
@@ -371,7 +371,7 @@ namespace cds {
             /// Unlock the spin-lock
             void unlock() CDS_NOEXCEPT
             {
-                assert( is_taken( OS::get_current_thread_id() ));
+                assert( is_taken( OS::get_current_thread_id()));
 
                 integral_type n = m_spin.load( atomics::memory_order_relaxed );
                 if ( n > 1 )
@@ -386,7 +386,7 @@ namespace cds {
             /// Change the owner of locked spin-lock. May be called by thread that owns spin-lock
             void change_owner( OS::ThreadId newOwnerId ) CDS_NOEXCEPT
             {
-                assert( is_taken( OS::get_current_thread_id() ));
+                assert( is_taken( OS::get_current_thread_id()));
                 assert( newOwnerId != OS::c_NullThreadId );
 
                 m_OwnerId = newOwnerId;