diff DEPENDENCIES/generic/include/boost/log/detail/spin_mutex.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
line wrap: on
line diff
--- a/DEPENDENCIES/generic/include/boost/log/detail/spin_mutex.hpp	Fri Sep 04 12:01:02 2015 +0100
+++ b/DEPENDENCIES/generic/include/boost/log/detail/spin_mutex.hpp	Mon Sep 07 11:12:49 2015 +0100
@@ -1,5 +1,5 @@
 /*
- *          Copyright Andrey Semashev 2007 - 2013.
+ *          Copyright Andrey Semashev 2007 - 2015.
  * Distributed under the Boost Software License, Version 1.0.
  *    (See accompanying file LICENSE_1_0.txt or copy at
  *          http://www.boost.org/LICENSE_1_0.txt)
@@ -120,14 +120,14 @@
     void lock()
     {
 #if defined(BOOST_LOG_PAUSE_OP)
-        register unsigned int pause_count = initial_pause;
+        unsigned int pause_count = initial_pause;
 #endif
         while (!try_lock())
         {
 #if defined(BOOST_LOG_PAUSE_OP)
             if (pause_count < max_pause)
             {
-                for (register unsigned int i = 0; i < pause_count; ++i)
+                for (unsigned int i = 0; i < pause_count; ++i)
                 {
                     BOOST_LOG_PAUSE_OP;
                 }