diff --git a/dependencies.yaml b/dependencies.yaml index 4df9102f..a478d4b5 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -1,7 +1,7 @@ --- ryml: git: https://github.com/biojppm/rapidyaml - git_tag: v0.5.0 + git_tag: v0.4.1 options: ["CMAKE_POSITION_INDEPENDENT_CODE ON"] libwebsockets: git: https://github.com/warmcat/libwebsockets.git diff --git a/lib/yaml_loader.cpp b/lib/yaml_loader.cpp index 9a4afcbd..3276cb72 100644 --- a/lib/yaml_loader.cpp +++ b/lib/yaml_loader.cpp @@ -38,7 +38,7 @@ struct RymlCallbackInitializer { } }; -static nlohmann::ordered_json ryml_to_nlohmann_json(const c4::yml::ConstNodeRef& ryml_node) { +static nlohmann::ordered_json ryml_to_nlohmann_json(const c4::yml::NodeRef& ryml_node) { if (ryml_node.empty()) { return nullptr; } else if (ryml_node.is_map()) {