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());