|
Boost-Commit : |
From: ramey_at_[hidden]
Date: 2008-06-08 12:05:16
Author: ramey
Date: 2008-06-08 12:05:15 EDT (Sun, 08 Jun 2008)
New Revision: 46242
URL: http://svn.boost.org/trac/boost/changeset/46242
Log:
correct test to throw legal exception
Text files modified:
trunk/libs/serialization/test/test_delete_pointer.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/libs/serialization/test/test_delete_pointer.cpp
==============================================================================
--- trunk/libs/serialization/test/test_delete_pointer.cpp (original)
+++ trunk/libs/serialization/test/test_delete_pointer.cpp 2008-06-08 12:05:15 EDT (Sun, 08 Jun 2008)
@@ -41,7 +41,9 @@
static int i = 0;
ar >> BOOST_SERIALIZATION_NVP(next_);
if(++i == 3)
- boost::throw_exception(0);
+ boost::throw_exception(boost::archive::archive_exception(
+ boost::archive::archive_exception::no_exception
+ ));
}
BOOST_SERIALIZATION_SPLIT_MEMBER()
public:
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