diff --git a/src/tests/src/solver/optim-model-filler/test_componentFiller.cpp b/src/tests/src/solver/optim-model-filler/test_componentFiller.cpp index c1a5a52ec9..9d356be167 100644 --- a/src/tests/src/solver/optim-model-filler/test_componentFiller.cpp +++ b/src/tests/src/solver/optim-model-filler/test_componentFiller.cpp @@ -122,7 +122,7 @@ void LinearProblemBuildingFixture::createModel(string modelId, { Antares::Solver::NodeRegistry node_registry(node, move(nodes)); Expression expression("expression", move(node_registry)); - return move(expression); + return expression; }; vector parameters; for (auto parameter_id: parameterIds)