|
Boost-Commit : |
From: gennadiy.rozental_at_[hidden]
Date: 2007-10-14 15:25:18
Author: rogeeff
Date: 2007-10-14 15:25:18 EDT (Sun, 14 Oct 2007)
New Revision: 40028
URL: http://svn.boost.org/trac/boost/changeset/40028
Log:
max macro guard
Text files modified:
trunk/boost/test/impl/exception_safety.ipp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/test/impl/exception_safety.ipp
==============================================================================
--- trunk/boost/test/impl/exception_safety.ipp (original)
+++ trunk/boost/test/impl/exception_safety.ipp 2007-10-14 15:25:18 EDT (Sun, 14 Oct 2007)
@@ -126,7 +126,7 @@
// test observer interface
virtual void assertion_result( bool passed );
- virtual int priority() { return std::numeric_limits<int>::max(); } // we want this observer to run the last
+ virtual int priority() { return (std::numeric_limits<int>::max)(); } // we want this observer to run the last
private:
void failure_point();
@@ -493,7 +493,7 @@
if( m_invairant_failed )
formatter << " and ";
- formatter << m_memory_in_use.size() << " memory leak";
+ formatter << (unsigned int)m_memory_in_use.size() << " memory leak";
if( m_memory_in_use.size() > 1 )
formatter << 's';
}
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