Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67879 - trunk/libs/chrono/test/traits
From: vicente.botet_at_[hidden]
Date: 2011-01-09 15:36:13


Author: viboes
Date: 2011-01-09 15:36:12 EST (Sun, 09 Jan 2011)
New Revision: 67879
URL: http://svn.boost.org/trac/boost/changeset/67879

Log:
Boost.Chrono: Add meta-info for debug

Text files modified:
   trunk/libs/chrono/test/traits/common_type_duration_pass.cpp | 2 +-
   trunk/libs/chrono/test/traits/common_type_time_point_pass.cpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/chrono/test/traits/common_type_duration_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/traits/common_type_duration_pass.cpp (original)
+++ trunk/libs/chrono/test/traits/common_type_duration_pass.cpp 2011-01-09 15:36:12 EST (Sun, 09 Jan 2011)
@@ -23,7 +23,7 @@
 test()
 {
     typedef typename boost::common_type<D1, D2>::type Dc;
- BOOST_CHRONO_STATIC_ASSERT((boost::is_same<Dc, De>::value), NOTHING, ());
+ BOOST_CHRONO_STATIC_ASSERT((boost::is_same<Dc, De>::value), NOTHING, (D1, D2, Dc, De));
 }
 
 void testall()

Modified: trunk/libs/chrono/test/traits/common_type_time_point_pass.cpp
==============================================================================
--- trunk/libs/chrono/test/traits/common_type_time_point_pass.cpp (original)
+++ trunk/libs/chrono/test/traits/common_type_time_point_pass.cpp 2011-01-09 15:36:12 EST (Sun, 09 Jan 2011)
@@ -27,7 +27,7 @@
     typedef boost::chrono::time_point<C, D2> T2;
     typedef boost::chrono::time_point<C, De> Te;
     typedef typename boost::common_type<T1, T2>::type Tc;
- BOOST_CHRONO_STATIC_ASSERT((boost::is_same<Tc, Te>::value), NOTHING, ());
+ BOOST_CHRONO_STATIC_ASSERT((boost::is_same<Tc, Te>::value), NOTHING, (T1, T2, Tc, Te));
 }
 
 void testall()


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