mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-01 21:02:07 +00:00
fixed error where vector<vector<dummy>> doesn't serialize properly
improved loading of sequential containers
This commit is contained in:
@@ -252,8 +252,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user