diff --git a/sandbox/sandbox.cpp b/sandbox/sandbox.cpp index 95c087d01..23a7a29e6 100644 --- a/sandbox/sandbox.cpp +++ b/sandbox/sandbox.cpp @@ -507,7 +507,7 @@ int main() int xxx[] = {-1, 95, 3}; archive( xxx ); - cereal::XMLOutputArchive archive2(std::cout, 10); + cereal::XMLOutputArchive archive2(std::cout); archive2( xxx ); std::vector yyy = {1, 2, 3}; diff --git a/sandbox/sandbox_json.cpp b/sandbox/sandbox_json.cpp index 2b3db1a47..b2f2ca539 100644 --- a/sandbox/sandbox_json.cpp +++ b/sandbox/sandbox_json.cpp @@ -345,7 +345,7 @@ int main() { std::ofstream os("file.json"); - cereal::JSONOutputArchive oar( os, 5 ); + cereal::JSONOutputArchive oar( os ); //auto f = std::make_shared(); //auto f2 = f;