diff --git a/include/cereal/archives/json.hpp b/include/cereal/archives/json.hpp index fa71e2ed1..b0afd7d8b 100644 --- a/include/cereal/archives/json.hpp +++ b/include/cereal/archives/json.hpp @@ -102,7 +102,7 @@ namespace cereal { public: //! Default options - static Options Default(){ return {}; } + static Options Default(){ return Options(); } //! Default options with no indentation static Options NoIndent(){ return Options( std::numeric_limits::max_digits10, IndentChar::space, 0 ); } diff --git a/include/cereal/archives/xml.hpp b/include/cereal/archives/xml.hpp index 71cf9f22a..924374bc5 100644 --- a/include/cereal/archives/xml.hpp +++ b/include/cereal/archives/xml.hpp @@ -99,7 +99,7 @@ namespace cereal { public: //! Default options - static Options Default(){ return {}; } + static Options Default(){ return Options(); } //! Default options with no indentation static Options NoIndent(){ return Options( std::numeric_limits::max_digits10, false ); } diff --git a/vs2013/unittests/unittests.vcxproj b/vs2013/unittests/unittests.vcxproj index 8830dcaa0..599efc6a7 100644 --- a/vs2013/unittests/unittests.vcxproj +++ b/vs2013/unittests/unittests.vcxproj @@ -124,6 +124,7 @@ true true /bigobj %(AdditionalOptions) + true true @@ -138,6 +139,7 @@ Disabled true /bigobj %(AdditionalOptions) + true true @@ -152,6 +154,7 @@ true true /bigobj %(AdditionalOptions) + true true @@ -170,6 +173,7 @@ true /bigobj %(AdditionalOptions) false + true true