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; };