From 75e50ee1e63635eadc732d9a64d3ec0df2a27787 Mon Sep 17 00:00:00 2001 From: Shane Grant Date: Mon, 28 Nov 2016 13:48:46 -0800 Subject: [PATCH] remove old code from sandbox relates #363 --- sandbox/sandbox_json.cpp | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/sandbox/sandbox_json.cpp b/sandbox/sandbox_json.cpp index 6171a15f..e767ca59 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