fixed error where vector<vector<dummy>> doesn't serialize properly

improved loading of sequential containers
This commit is contained in:
Robert Ramey
2014-12-02 00:02:54 -08:00
parent b0f63a710f
commit 6ba97066f4
23 changed files with 1102 additions and 313484 deletions

View File

@@ -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;
}