Skip to content

Commit ce75f1e

Browse files
committed
fixed rapidyaml usage
1 parent 39d5442 commit ce75f1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/src/configuration/ryml_document.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ std::unique_ptr<DocumentNode> RymlDocument::GetRootNode()
7272
DocumentNodeLocation RymlDocument::Location(ryml::ConstNodeRef node) const
7373
{
7474
DocumentNodeLocation loc;
75-
auto ryml_loc = parser_->location(node);
75+
auto ryml_loc = node.location(*parser_);
7676
loc.offset = ryml_loc.offset;
7777
loc.line = ryml_loc.line;
7878
loc.col = ryml_loc.col;

0 commit comments

Comments
 (0)