From a6706f7879dda664468df9a7ed2f42cc8c5c1dda Mon Sep 17 00:00:00 2001 From: ToruNiina Date: Sat, 15 Jun 2019 17:12:30 +0900 Subject: [PATCH] fix: templatize internal function for value --- toml/parser.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toml/parser.hpp b/toml/parser.hpp index ab29d76..6cc028b 100644 --- a/toml/parser.hpp +++ b/toml/parser.hpp @@ -1086,8 +1086,8 @@ parse_table_key(location& loc); // Here, it parses region of `tab->at(k)` as a table key and check the depth // of the key. If the key region points deeper node, it would be allowed. // Otherwise, the key points the same node. It would be rejected. -template -bool is_valid_forward_table_definition(const value& fwd, +template +bool is_valid_forward_table_definition(const Value& fwd, Iterator key_first, Iterator key_curr, Iterator key_last) { location def("internal", detail::get_region(fwd).str());