fixed error in loading of non empty instances of vector.hp

This commit is contained in:
Robert Ramey
2015-04-24 16:44:38 -07:00
parent 2d898f7db8
commit 50d59842c2

View File

@@ -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());