mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-09 23:14:04 +00:00
adapted to serialization stricter rules on saving and constness
[SVN r28405]
This commit is contained in:
parent
94894da751
commit
6e33d0ef2a
@ -543,7 +543,7 @@ BOOST_MULTI_INDEX_PROTECTED_IF_MEMBER_TEMPLATE_FRIENDS:
|
|||||||
template<class Archive>
|
template<class Archive>
|
||||||
void save(Archive& ar,const unsigned int version)const
|
void save(Archive& ar,const unsigned int version)const
|
||||||
{
|
{
|
||||||
std::size_t s=size_();
|
const std::size_t s=size_();
|
||||||
ar<<serialization::make_nvp("count",s);
|
ar<<serialization::make_nvp("count",s);
|
||||||
index_saver_type sm(bfm_allocator::member,s);
|
index_saver_type sm(bfm_allocator::member,s);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user