Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79986 - in trunk/boost/chrono: . detail io/utility
From: vicente.botet_at_[hidden]
Date: 2012-08-12 14:37:40


Author: viboes
Date: 2012-08-12 14:37:39 EDT (Sun, 12 Aug 2012)
New Revision: 79986
URL: http://svn.boost.org/trac/boost/changeset/79986

Log:
Chrono: fixes for inspection report
Text files modified:
   trunk/boost/chrono/config.hpp | 4 ++--
   trunk/boost/chrono/detail/static_assert.hpp | 2 +-
   trunk/boost/chrono/duration.hpp | 2 +-
   trunk/boost/chrono/io/utility/ios_base_state_ptr.hpp | 2 +-
   trunk/boost/chrono/io/utility/manip_base.hpp | 2 +-
   5 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/boost/chrono/config.hpp
==============================================================================
--- trunk/boost/chrono/config.hpp (original)
+++ trunk/boost/chrono/config.hpp 2012-08-12 14:37:39 EDT (Sun, 12 Aug 2012)
@@ -100,14 +100,14 @@
 
 // unicode support ------------------------------//
 
-#if defined(BOOST_NO_UNICODE_LITERALS) || defined(BOOST_NO_CHAR16_T) || defined(BOOST_NO_CHAR32_T)
+#if defined(BOOST_NO_CXX11_UNICODE_LITERALS) || defined(BOOST_NO_CXX11_CHAR16_T) || defined(BOOST_NO_CXX11_CHAR32_T)
 //~ #define BOOST_CHRONO_HAS_UNICODE_SUPPORT
 #else
 #define BOOST_CHRONO_HAS_UNICODE_SUPPORT 1
 #endif
 
 #if ! defined BOOST_NOEXCEPT
-#if defined(BOOST_NO_NOEXCEPT)
+#if defined(BOOST_NO_CXX11_NOEXCEPT)
 #define BOOST_NOEXCEPT
 #else
 #define BOOST_NOEXCEPT noexcept

Modified: trunk/boost/chrono/detail/static_assert.hpp
==============================================================================
--- trunk/boost/chrono/detail/static_assert.hpp (original)
+++ trunk/boost/chrono/detail/static_assert.hpp 2012-08-12 14:37:39 EDT (Sun, 12 Aug 2012)
@@ -11,7 +11,7 @@
 
 #include <boost/chrono/config.hpp>
 
-#ifndef BOOST_NO_STATIC_ASSERT
+#ifndef BOOST_NO_CXX11_STATIC_ASSERT
 #define BOOST_CHRONO_STATIC_ASSERT(CND, MSG, TYPES) static_assert(CND,MSG)
 #elif defined(BOOST_CHRONO_USES_STATIC_ASSERT)
 #include <boost/static_assert.hpp>

Modified: trunk/boost/chrono/duration.hpp
==============================================================================
--- trunk/boost/chrono/duration.hpp (original)
+++ trunk/boost/chrono/duration.hpp 2012-08-12 14:37:39 EDT (Sun, 12 Aug 2012)
@@ -51,7 +51,7 @@
 #include <boost/detail/workaround.hpp>
 #include <boost/integer_traits.hpp>
 
-#if !defined(BOOST_NO_STATIC_ASSERT) || !defined(BOOST_CHRONO_USES_MPL_ASSERT)
+#if !defined(BOOST_NO_CXX11_STATIC_ASSERT) || !defined(BOOST_CHRONO_USES_MPL_ASSERT)
 #define BOOST_CHRONO_A_DURATION_REPRESENTATION_CAN_NOT_BE_A_DURATION "A duration representation can not be a duration"
 #define BOOST_CHRONO_SECOND_TEMPLATE_PARAMETER_OF_DURATION_MUST_BE_A_STD_RATIO "Second template parameter of duration must be a boost::ratio"
 #define BOOST_CHRONO_DURATION_PERIOD_MUST_BE_POSITIVE "duration period must be positive"

Modified: trunk/boost/chrono/io/utility/ios_base_state_ptr.hpp
==============================================================================
--- trunk/boost/chrono/io/utility/ios_base_state_ptr.hpp (original)
+++ trunk/boost/chrono/io/utility/ios_base_state_ptr.hpp 2012-08-12 14:37:39 EDT (Sun, 12 Aug 2012)
@@ -183,7 +183,7 @@
         pw = new_ptr;
       }
 
-#if defined(BOOST_NO_EXPLICIT_CONVERSION_OPERATORS)
+#if defined(BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS)
         typedef T* (ios_state_ptr::*bool_type)();
         operator bool_type() const BOOST_NOEXCEPT
         {

Modified: trunk/boost/chrono/io/utility/manip_base.hpp
==============================================================================
--- trunk/boost/chrono/io/utility/manip_base.hpp (original)
+++ trunk/boost/chrono/io/utility/manip_base.hpp 2012-08-12 14:37:39 EDT (Sun, 12 Aug 2012)
@@ -41,7 +41,7 @@
         {
           out.put(out.widen('\n'));
         }
- ÊÊÊÊÊ out.flush();
+ out.flush();
       }
     private:
       size_t count;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk