mirror of
https://github.com/boostorg/serialization.git
synced 2026-02-26 17:02:17 +00:00
fixed error in loading of non empty instances of vector.hp
This commit is contained in:
@@ -96,6 +96,7 @@ inline void load(
|
||||
}
|
||||
else{
|
||||
t.reserve(count);
|
||||
t.resize(0);
|
||||
while(count-- > 0){
|
||||
detail::stack_construct<Archive, U> u(ar, item_version);
|
||||
ar >> boost::serialization::make_nvp("item", u.reference());
|
||||
|
||||
Reference in New Issue
Block a user