summaryrefslogtreecommitdiff
path: root/libs/serialization/src/basic_iarchive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/serialization/src/basic_iarchive.cpp')
-rw-r--r--libs/serialization/src/basic_iarchive.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/libs/serialization/src/basic_iarchive.cpp b/libs/serialization/src/basic_iarchive.cpp
index 3a2469006..9e25092ae 100644
--- a/libs/serialization/src/basic_iarchive.cpp
+++ b/libs/serialization/src/basic_iarchive.cpp
@@ -183,7 +183,6 @@ class basic_iarchive_impl {
m_archive_library_version(BOOST_ARCHIVE_VERSION()),
m_flags(flags)
{}
- ~basic_iarchive_impl(){}
void set_library_version(library_version_type archive_library_version){
m_archive_library_version = archive_library_version;
}
@@ -228,7 +227,6 @@ class basic_iarchive_impl {
const basic_pointer_iserializer * (*finder)(
const boost::serialization::extended_type_info & type
)
-
);
};
@@ -252,8 +250,8 @@ basic_iarchive_impl::reset_object_address(
// but the code may work anyway. Naturally, a bad practice on the part
// of the programmer but we can't detect it - as above. So maybe we
// can save a few more people from themselves as above.
- object_id_type i;
- for(i = m_moveable_objects.recent; i < m_moveable_objects.end; ++i){
+ object_id_type i = m_moveable_objects.recent;
+ for(; i < m_moveable_objects.end; ++i){
if(old_address == object_id_vector[i].address)
break;
}
@@ -532,9 +530,7 @@ basic_iarchive::basic_iarchive(unsigned int flags) :
BOOST_ARCHIVE_DECL(BOOST_PP_EMPTY())
basic_iarchive::~basic_iarchive()
-{
- delete pimpl;
-}
+{}
BOOST_ARCHIVE_DECL(void)
basic_iarchive::set_library_version(library_version_type archive_library_version){