Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75717 - trunk/libs/chrono/test/stopwatch
From: vicente.botet_at_[hidden]
Date: 2011-11-28 17:14:21


Author: viboes
Date: 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
New Revision: 75717
URL: http://svn.boost.org/trac/boost/changeset/75717

Log:
Chrono: Add BOOST_CRONO_VERSION 2 to the cpp file so there is no confussion
Text files modified:
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_accumulator_set_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_container_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_last_lap_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_laps_accumulator_set_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/laps_stopclock_laps_accumulator_set_pass.cpp | 4 ++--
   trunk/libs/chrono/test/stopwatch/laps_stopclock_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/simple_stopwatch_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/simple_stopwatch_reporter_pass.cpp | 2 ++
   trunk/libs/chrono/test/stopwatch/suspendable_stopwatch_pass.cpp | 2 ++
   11 files changed, 22 insertions(+), 2 deletions(-)

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_accumulator_set_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_accumulator_set_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_accumulator_set_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/laps_stopwatch.hpp>

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_container_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_container_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_laps_container_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/laps_stopwatch.hpp>

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_last_lap_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_last_lap_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_last_lap_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/laps_stopwatch.hpp>

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/laps_stopwatch.hpp>

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_laps_accumulator_set_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_laps_accumulator_set_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_laps_accumulator_set_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/laps_stopwatch.hpp>

Modified: trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/basic_stopwatch_reporter_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/laps_stopwatch.hpp>

Modified: trunk/libs/chrono/test/stopwatch/laps_stopclock_laps_accumulator_set_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/laps_stopclock_laps_accumulator_set_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/laps_stopclock_laps_accumulator_set_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,13 +2,13 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/reporters/laps_stopclock.hpp>
 #include <libs/chrono/test/cycle_count.hpp>
-//#include <boost/chrono/stopwatches/reporters/stopwatch_reporter.hpp>
 #include <boost/chrono/stopwatches/reporters/system_default_formatter.hpp>
-//#include <boost/chrono/stopwatches/reporters/laps_stopwatch_default_formatter.hpp>
 #include <boost/chrono/stopwatches/collectors/laps_accumulator_set.hpp>
 
 #include <boost/chrono/chrono_io.hpp>

Modified: trunk/libs/chrono/test/stopwatch/laps_stopclock_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/laps_stopclock_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/laps_stopclock_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/reporters/laps_stopclock.hpp>

Modified: trunk/libs/chrono/test/stopwatch/simple_stopwatch_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/simple_stopwatch_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/simple_stopwatch_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/simple_stopwatch.hpp>

Modified: trunk/libs/chrono/test/stopwatch/simple_stopwatch_reporter_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/simple_stopwatch_reporter_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/simple_stopwatch_reporter_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/simple_stopwatch.hpp>

Modified: trunk/libs/chrono/test/stopwatch/suspendable_stopwatch_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/stopwatch/suspendable_stopwatch_pass.cpp (original)
+++ trunk/libs/chrono/test/stopwatch/suspendable_stopwatch_pass.cpp 2011-11-28 17:14:17 EST (Mon, 28 Nov 2011)
@@ -2,6 +2,8 @@
 // Distributed under the Boost Software License, Version 1.0.
 // See http://www.boost.org/LICENSE_1_0.txt
 
+#define BOOST_CHRONO_VERSION 2
+
 #include <iostream>
 #include <boost/type_traits/is_same.hpp>
 #include <boost/chrono/stopwatches/suspendable_stopwatch.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