|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r68027 - trunk/libs/ratio/test/ratio_arithmetic
From: vicente.botet_at_[hidden]
Date: 2011-01-11 23:46:10
Author: viboes
Date: 2011-01-11 23:46:09 EST (Tue, 11 Jan 2011)
New Revision: 68027
URL: http://svn.boost.org/trac/boost/changeset/68027
Log:
Boost.Ratio: Force failure to debug condition
Text files modified:
trunk/libs/ratio/test/ratio_arithmetic/ratio_add_fail.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/ratio/test/ratio_arithmetic/ratio_add_fail.cpp
==============================================================================
--- trunk/libs/ratio/test/ratio_arithmetic/ratio_add_fail.cpp (original)
+++ trunk/libs/ratio/test/ratio_arithmetic/ratio_add_fail.cpp 2011-01-11 23:46:09 EST (Tue, 11 Jan 2011)
@@ -20,4 +20,4 @@
typedef boost::ratio<1, 1> R2;
typedef boost::ratio_add<R1, R2>::type RT;
-BOOST_RATIO_STATIC_ASSERT(BOOST_RATIO_INTMAX_T_MAX <= BOOST_RATIO_INTMAX_T_MAX - 1 , BOOST_RATIO_OVERFLOW_IN_ADD, ());
+BOOST_RATIO_STATIC_ASSERT(RT::num==0, (RT));
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