From 99c10dd6bc97ba0c6503b94bbc4265d6ecf9a60d Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 20 Jun 2019 16:21:01 +0900 Subject: [PATCH] fix: enable to deduce what basic_value to be used --- tests/check_toml_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/check_toml_test.cpp b/tests/check_toml_test.cpp index aeaf54a..ec03124 100644 --- a/tests/check_toml_test.cpp +++ b/tests/check_toml_test.cpp @@ -84,8 +84,8 @@ struct json_serializer { if(!is_first) {std::cout << ", ";} is_first = false; - std::cout << toml::format(toml::string(elem.first), - std::numeric_limits::max()); + std::cout << toml::format(toml::value(elem.first), + std::numeric_limits::max()); std::cout << ':'; toml::visit(*this, elem.second); }