mirror of
https://github.com/boostorg/serialization.git
synced 2026-01-30 20:22:09 +00:00
minor adjustments to fix errors with gcc 6.0
This commit is contained in:
@@ -58,8 +58,9 @@ protected:
|
||||
this->basic_binary_iarchive<Archive>::load_override(t);
|
||||
}
|
||||
void init(unsigned int flags){
|
||||
if(0 != (flags & no_header))
|
||||
if(0 != (flags & no_header)){
|
||||
return;
|
||||
}
|
||||
#if ! defined(__MWERKS__)
|
||||
this->basic_binary_iarchive<Archive>::init();
|
||||
this->basic_binary_iprimitive<Archive, Elem, Tr>::init();
|
||||
|
||||
@@ -59,8 +59,9 @@ protected:
|
||||
this->basic_binary_oarchive<Archive>::save_override(t);
|
||||
}
|
||||
void init(unsigned int flags) {
|
||||
if(0 != (flags & no_header))
|
||||
if(0 != (flags & no_header)){
|
||||
return;
|
||||
}
|
||||
#if ! defined(__MWERKS__)
|
||||
this->basic_binary_oarchive<Archive>::init();
|
||||
this->basic_binary_oprimitive<Archive, Elem, Tr>::init();
|
||||
|
||||
@@ -41,9 +41,7 @@ protected:
|
||||
const boost::serialization::extended_type_info & eti
|
||||
) :
|
||||
m_eti(& eti)
|
||||
{
|
||||
BOOST_ASSERT(NULL != & eti);
|
||||
}
|
||||
{}
|
||||
public:
|
||||
inline bool
|
||||
operator<(const basic_serializer & rhs) const {
|
||||
|
||||
@@ -37,19 +37,19 @@ void base::serialize(
|
||||
// explicit instantiation in this case.
|
||||
//BOOST_CLASS_EXPORT(polymorphic_base)
|
||||
|
||||
template BOOST_SYMBOL_EXPORT base::serialize(
|
||||
template BOOST_SYMBOL_EXPORT void base::serialize(
|
||||
boost::archive::text_oarchive & ar,
|
||||
const unsigned int version
|
||||
);
|
||||
template BOOST_SYMBOL_EXPORT base::serialize(
|
||||
template BOOST_SYMBOL_EXPORT void base::serialize(
|
||||
boost::archive::text_iarchive & ar,
|
||||
const unsigned int version
|
||||
);
|
||||
template BOOST_SYMBOL_EXPORT base::serialize(
|
||||
template BOOST_SYMBOL_EXPORT void base::serialize(
|
||||
boost::archive::polymorphic_oarchive & ar,
|
||||
const unsigned int version
|
||||
);
|
||||
template BOOST_SYMBOL_EXPORT base::serialize(
|
||||
template BOOST_SYMBOL_EXPORT void base::serialize(
|
||||
boost::archive::polymorphic_iarchive & ar,
|
||||
const unsigned int version
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user