We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39d5442 commit ce75f1eCopy full SHA for ce75f1e
sdk/src/configuration/ryml_document.cc
@@ -72,7 +72,7 @@ std::unique_ptr<DocumentNode> RymlDocument::GetRootNode()
72
DocumentNodeLocation RymlDocument::Location(ryml::ConstNodeRef node) const
73
{
74
DocumentNodeLocation loc;
75
- auto ryml_loc = parser_->location(node);
+ auto ryml_loc = node.location(*parser_);
76
loc.offset = ryml_loc.offset;
77
loc.line = ryml_loc.line;
78
loc.col = ryml_loc.col;
0 commit comments