From 08f65eeadc288ecde4b8fb281e477958c8ae7cd5 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 29 Mar 2012 15:35:20 -0500 Subject: Allow serialization to be enabled again --- src/system.hh.in | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src/system.hh.in') diff --git a/src/system.hh.in b/src/system.hh.in index a38deb1f..552a591a 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -246,11 +246,18 @@ void serialize(Archive& ar, boost::intrusive_ptr& ptr, const unsigned int) } } -template -void serialize(Archive&, boost::function&, const unsigned int) -{ +template +void serialize(Archive&, boost::any&, const unsigned int) { + // jww (2012-03-29): Should we really ignore any fields entirely? + // These occur inside value_t::storage_t::data's variant. } +template +void serialize(Archive&, boost::blank&, const unsigned int) {} + +template +void serialize(Archive&, boost::function&, const unsigned int) {} + template void serialize(Archive& ar, istream_pos_type& pos, const unsigned int) { -- cgit v1.2.3