From d9c2705dc9018e0d9730dc74263ea447dd05ba64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu> Date: Tue, 28 Jun 2022 18:09:55 +0200 Subject: [PATCH] [skip ci] small change wip --- src/problem/problem.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/problem/problem.cpp b/src/problem/problem.cpp index bef2e0d8f..f99e9d8cd 100644 --- a/src/problem/problem.cpp +++ b/src/problem/problem.cpp @@ -93,10 +93,12 @@ ProblemPtr Problem::autoSetup(const std::string& _input_yaml_file, std::vector<s #endif // Create yaml server - auto server = yaml-schema-cpp::YamlServer({}, _input_yaml_file); + auto server = yaml_schema_cpp::YamlServer({}, _input_yaml_file); - // + // get all plugins + auto plugins_nodes = yaml_schema_cpp::findNodesWithKey(server.getNode(),"plugins"); + std::stringstream log; if (not server.validate(SensorClass, log)) { -- GitLab