|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r79653 - trunk/libs/spirit/classic/test
From: dnljms_at_[hidden]
Date: 2012-07-22 03:16:07
Author: danieljames
Date: 2012-07-22 03:16:06 EDT (Sun, 22 Jul 2012)
New Revision: 79653
URL: http://svn.boost.org/trac/boost/changeset/79653
Log:
Update classic spirit tests which use boost::TIME_UTC (now TIME_UTC_).
Text files modified:
trunk/libs/spirit/classic/test/grammar_mt_tests.cpp | 2 +-
trunk/libs/spirit/classic/test/owi_mt_tests.cpp | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/libs/spirit/classic/test/grammar_mt_tests.cpp
==============================================================================
--- trunk/libs/spirit/classic/test/grammar_mt_tests.cpp (original)
+++ trunk/libs/spirit/classic/test/grammar_mt_tests.cpp 2012-07-22 03:16:06 EDT (Sun, 22 Jul 2012)
@@ -70,7 +70,7 @@
{
static long const nanoseconds_per_second = 1000L*1000L*1000L;
boost::xtime xt;
- boost::xtime_get(&xt, boost::TIME_UTC);
+ boost::xtime_get(&xt, boost::TIME_UTC_);
xt.nsec+=1000*1000*milliseconds;
while (xt.nsec > nanoseconds_per_second)
{
Modified: trunk/libs/spirit/classic/test/owi_mt_tests.cpp
==============================================================================
--- trunk/libs/spirit/classic/test/owi_mt_tests.cpp (original)
+++ trunk/libs/spirit/classic/test/owi_mt_tests.cpp 2012-07-22 03:16:06 EDT (Sun, 22 Jul 2012)
@@ -86,7 +86,7 @@
return test_size;
boost::xtime now;
- boost::xtime_get(&now, boost::TIME_UTC);
+ boost::xtime_get(&now, boost::TIME_UTC_);
unsigned long seconds = now.sec - start_time.sec;
if (seconds < 4)
{
@@ -187,7 +187,7 @@
void concurrent_creation_of_objects()
{
{
- boost::xtime_get(&start_time, boost::TIME_UTC);
+ boost::xtime_get(&start_time, boost::TIME_UTC_);
boost::thread thread1(callable_ref(test1));
boost::thread thread2(callable_ref(test2));
boost::thread thread3(callable_ref(test3));
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