Changed: call throw_exception() function instead of ordinary throw
[libcds.git] / cds / details / bit_reverse_counter.h
index 945432f461b5c6ae62e58294b0813c916e43a182..86c9406aff6e39adc36efda68bd02777ffae86fd 100644 (file)
@@ -1,7 +1,7 @@
 /*
     This file is a part of libcds - Concurrent Data Structures library
 
-    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2016
+    (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017
 
     Source code repo: http://github.com/khizmax/libcds/
     Download: http://sourceforge.net/projects/libcds/files/
@@ -75,7 +75,7 @@ namespace cds { namespace bitop {
             --m_nCounter;
             int nBit;
             for ( nBit = m_nHighBit - 1; nBit >= 0; --nBit ) {
-                if ( cds::bitop::complement( m_nReversed, nBit ) )
+                if ( cds::bitop::complement( m_nReversed, nBit ))
                     break;
             }
             if ( nBit < 0 ) {