|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52638 - trunk/libs/serialization/example
From: ramey_at_[hidden]
Date: 2009-04-27 19:10:26
Author: ramey
Date: 2009-04-27 19:10:25 EDT (Mon, 27 Apr 2009)
New Revision: 52638
URL: http://svn.boost.org/trac/boost/changeset/52638
Log:
Correct logic when exception is thrown
Text files modified:
trunk/libs/serialization/example/portable_binary_iarchive.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/libs/serialization/example/portable_binary_iarchive.hpp
==============================================================================
--- trunk/libs/serialization/example/portable_binary_iarchive.hpp (original)
+++ trunk/libs/serialization/example/portable_binary_iarchive.hpp 2009-04-27 19:10:25 EDT (Mon, 27 Apr 2009)
@@ -49,8 +49,9 @@
switch(code){
case incompatible_integer_size:
msg = "integer cannot be represented";
+ break;
default:
- boost::archive::archive_exception::what();
+ msg = boost::archive::archive_exception::what();
}
return msg;
}
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