From 8acd3dc767a5ad9858fc59f1395eff0110ffe29d Mon Sep 17 00:00:00 2001 From: Shane Grant Date: Thu, 13 Mar 2014 22:33:45 -0700 Subject: [PATCH] Fixes related to changes for #64 --- sandbox/sandbox.cpp | 2 +- sandbox/sandbox_json.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;