diff --git a/sandbox/sandbox_json.cpp b/sandbox/sandbox_json.cpp index 6171a15fd..e767ca590 100644 --- a/sandbox/sandbox_json.cpp +++ b/sandbox/sandbox_json.cpp @@ -311,31 +311,6 @@ struct OOJson } }; -enum Bla -{ - x, - y -}; - -template -void save( Archive & ar, Bla const & b ) -{ - ar( static_cast(b) ); -} - -template -void load( Archive & ar, Bla & b ) -{ - ar( static_cast(b) ); -} - -CEREAL_SPECIALIZE_FOR_ALL_ARCHIVES( Bla, cereal::specialization::non_member_load_save ) - -//namespace cereal -//{ -// //template struct specialize {}; -//} - // ###################################################################### int main() { @@ -370,8 +345,6 @@ int main() auto f2 = f; archive( f ); archive( f2 ); - - archive( Bla::x ); } // test out of order