diff --git a/Simulation/ISF/ISF_Acts/ISF_ActsTools/src/ActsFatrasSimTool.h b/Simulation/ISF/ISF_Acts/ISF_ActsTools/src/ActsFatrasSimTool.h index cdd8fb77d8c5e65cc0ed94c3a4dd1176f5eca188..8cd0d3dc7c2369e68467c6299d58e0faae218a5a 100644 --- a/Simulation/ISF/ISF_Acts/ISF_ActsTools/src/ActsFatrasSimTool.h +++ b/Simulation/ISF/ISF_Acts/ISF_ActsTools/src/ActsFatrasSimTool.h @@ -159,8 +159,7 @@ class ActsFatrasSimTool : public BaseSimulatorTool { if (not result.ok()) { return result.error(); } - auto &value = result.value().template get<Result>(); - return std::move(value); + return result.value().template get<Result>(); } };// end of SingleParticleSimulation