mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-27 19:32:07 +00:00
@@ -224,11 +224,6 @@ basic_oarchive_impl::find(const serialization::extended_type_info & ti) const {
|
||||
inline const basic_oarchive_impl::cobject_type &
|
||||
basic_oarchive_impl::find(const basic_oserializer & bos)
|
||||
{
|
||||
assert(
|
||||
cobject_info_set.size()
|
||||
<=
|
||||
boost::integer_traits<class_id_type>::const_max
|
||||
);
|
||||
std::pair<cobject_info_set_type::iterator, bool> cresult =
|
||||
cobject_info_set.insert(cobject_type(cobject_info_set.size(), bos));
|
||||
return *(cresult.first);
|
||||
@@ -238,11 +233,6 @@ inline const basic_oarchive_impl::cobject_type &
|
||||
basic_oarchive_impl::register_type(
|
||||
const basic_oserializer & bos
|
||||
){
|
||||
assert(
|
||||
cobject_info_set.size()
|
||||
<=
|
||||
boost::integer_traits<class_id_type>::const_max
|
||||
);
|
||||
cobject_type co(cobject_info_set.size(), bos);
|
||||
std::pair<cobject_info_set_type::const_iterator, bool>
|
||||
result = cobject_info_set.insert(co);
|
||||
|
||||
Reference in New Issue
Block a user