Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75150 - trunk/libs/chrono/example
From: vicente.botet_at_[hidden]
Date: 2011-10-27 18:58:20


Author: viboes
Date: 2011-10-27 18:58:19 EDT (Thu, 27 Oct 2011)
New Revision: 75150
URL: http://svn.boost.org/trac/boost/changeset/75150

Log:
Chrono: French test works only with old implementation
Text files modified:
   trunk/libs/chrono/example/french.cpp | 5 ++++-
   1 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/libs/chrono/example/french.cpp
==============================================================================
--- trunk/libs/chrono/example/french.cpp (original)
+++ trunk/libs/chrono/example/french.cpp 2011-10-27 18:58:19 EDT (Thu, 27 Oct 2011)
@@ -7,10 +7,13 @@
 
 // Adapted to Boost from the original Hawards's code
 
+
+#include <boost/chrono/config.hpp>
 #if defined BOOST_CHRONO_IO_V1_DONT_PROVIDE_DEPRECATED
 #undef BOOST_CHRONO_IO_V1_DONT_PROVIDE_DEPRECATED
-#endif
+#undef BOOST_CHRONO_IO_USE_XALLOC
 
+#endif
 #include <boost/chrono/chrono_io.hpp>
 #include <boost/chrono/process_cpu_clocks.hpp>
 #include <boost/chrono/thread_clock.hpp>


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