|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82633 - trunk/libs/chrono/test/io
From: vicente.botet_at_[hidden]
Date: 2013-01-27 06:37:24
Author: viboes
Date: 2013-01-27 06:37:23 EST (Sun, 27 Jan 2013)
New Revision: 82633
URL: http://svn.boost.org/trac/boost/changeset/82633
Log:
Chrono: allow to test time_point_output with version 1
Text files modified:
trunk/libs/chrono/test/io/time_point_output.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
Modified: trunk/libs/chrono/test/io/time_point_output.cpp
==============================================================================
--- trunk/libs/chrono/test/io/time_point_output.cpp (original)
+++ trunk/libs/chrono/test/io/time_point_output.cpp 2013-01-27 06:37:23 EST (Sun, 27 Jan 2013)
@@ -2,7 +2,6 @@
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt
-#define BOOST_CHRONO_VERSION 2
#include <boost/chrono/chrono_io.hpp>
#include <sstream>
#include <boost/detail/lightweight_test.hpp>
@@ -158,7 +157,6 @@
test_good_symbol_system_clock("1970-01-01 00:00:00.200000 +0000", duration<boost::int_least64_t, deci> (2));
test_good_symbol_system_clock("1970-01-01 00:00:00.066667 +0000", duration<boost::int_least64_t, ratio<1, 30> > (2));
}
-#endif
void test_gmtime(std::time_t t)
{
@@ -174,6 +172,7 @@
std::cout << "sec " << tm.tm_sec << std::endl;
}
}
+#endif
int main()
{
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