Patches: fix logging for locations of node iterators
This commit is contained in:
@@ -76,6 +76,11 @@ std::string get_yaml_node_location(YAML::Node node)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string get_yaml_node_location(const YAML::detail::iterator_value& it)
|
||||||
|
{
|
||||||
|
return get_yaml_node_location(it.first);
|
||||||
|
}
|
||||||
|
|
||||||
template u32 get_yaml_node_value<u32>(YAML::Node, std::string&);
|
template u32 get_yaml_node_value<u32>(YAML::Node, std::string&);
|
||||||
template u64 get_yaml_node_value<u64>(YAML::Node, std::string&);
|
template u64 get_yaml_node_value<u64>(YAML::Node, std::string&);
|
||||||
template s64 get_yaml_node_value<s64>(YAML::Node, std::string&);
|
template s64 get_yaml_node_value<s64>(YAML::Node, std::string&);
|
||||||
|
|||||||
@@ -28,3 +28,4 @@ T get_yaml_node_value(YAML::Node node, std::string& error_message);
|
|||||||
|
|
||||||
// Get the location of the node in the document
|
// Get the location of the node in the document
|
||||||
std::string get_yaml_node_location(YAML::Node node);
|
std::string get_yaml_node_location(YAML::Node node);
|
||||||
|
std::string get_yaml_node_location(const YAML::detail::iterator_value& it);
|
||||||
|
|||||||
Reference in New Issue
Block a user