|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55788 - trunk/boost/archive/impl
From: ramey_at_[hidden]
Date: 2009-08-26 16:42:45
Author: ramey
Date: 2009-08-26 16:42:43 EDT (Wed, 26 Aug 2009)
New Revision: 55788
URL: http://svn.boost.org/trac/boost/changeset/55788
Log:
fixed bug in load(wchar *)
Text files modified:
trunk/boost/archive/impl/basic_xml_iarchive.ipp | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Modified: trunk/boost/archive/impl/basic_xml_iarchive.ipp
==============================================================================
--- trunk/boost/archive/impl/basic_xml_iarchive.ipp (original)
+++ trunk/boost/archive/impl/basic_xml_iarchive.ipp 2009-08-26 16:42:43 EDT (Wed, 26 Aug 2009)
@@ -13,7 +13,7 @@
#include <algorithm>
#include <boost/serialization/throw_exception.hpp>
-
+#include <boost/archive/xml_archive_exception.hpp>
#include <boost/archive/basic_xml_iarchive.hpp>
#include <boost/serialization/tracking.hpp>
@@ -67,7 +67,10 @@
)
){
boost::serialization::throw_exception(
- archive_exception(archive_exception::stream_error)
+ xml_archive_exception(
+ xml_archive_exception::xml_archive_tag_mismatch,
+ name
+ )
);
}
}
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