Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64104 - trunk/libs/serialization/src
From: ramey_at_[hidden]
Date: 2010-07-17 12:10:10


Author: ramey
Date: 2010-07-17 12:10:09 EDT (Sat, 17 Jul 2010)
New Revision: 64104
URL: http://svn.boost.org/trac/boost/changeset/64104

Log:
comment out assertion which enforces ODR.
Text files modified:
   trunk/libs/serialization/src/void_cast.cpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/libs/serialization/src/void_cast.cpp
==============================================================================
--- trunk/libs/serialization/src/void_cast.cpp (original)
+++ trunk/libs/serialization/src/void_cast.cpp 2010-07-17 12:10:09 EDT (Sat, 17 Jul 2010)
@@ -226,8 +226,9 @@
     #endif
 
     std::pair<void_cast_detail::set_type::const_iterator, bool> result;
+ // comment this out for now.
     result = s.insert(this);
- assert(result.second);
+ //assert(result.second);
 
     // generate all implied void_casts.
     void_cast_detail::set_type::const_iterator it;


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