From d352c9e66f7f22cba53c77b16a5a27fe5210a669 Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Thu, 30 May 2019 17:47:06 +0900 Subject: [PATCH] perf: suppress unused error message generation --- toml/parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toml/parser.hpp b/toml/parser.hpp index 29131cb..bba7171 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -1561,7 +1561,7 @@ template result, region>, std::string> parse_array_table_key(location& loc) { - if(auto token = lex_array_table::invoke(loc, true)) + if(auto token = lex_array_table::invoke(loc)) { location inner_loc(loc.name(), token.unwrap().str());