From 39a4d4080c07ad560bf5f4a8550bd7cc8d1b424d Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Mon, 16 Dec 2024 17:06:27 +0100 Subject: [PATCH] simplify --- src/tests/src/solver/modelParser/testSystemConverter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tests/src/solver/modelParser/testSystemConverter.cpp b/src/tests/src/solver/modelParser/testSystemConverter.cpp index 12f16c3515..5da77cbeaf 100644 --- a/src/tests/src/solver/modelParser/testSystemConverter.cpp +++ b/src/tests/src/solver/modelParser/testSystemConverter.cpp @@ -47,15 +47,13 @@ struct LibraryObjects SystemParser::Parser parser; ModelParser::Library library; - SystemModel::Library lib; std::vector libraries; LibraryObjects() { library.id = "std"; library.models = {model1}; - lib = ModelConverter::convert(library); - libraries = {lib}; + libraries = {ModelConverter::convert(library)}; } ~LibraryObjects() = default; };