diff --git a/src/SensorFactory.cc b/src/SensorFactory.cc index b6cb27bf..5e9cfc58 100644 --- a/src/SensorFactory.cc +++ b/src/SensorFactory.cc @@ -137,7 +137,7 @@ std::unique_ptr SensorFactory::CreateSensor(const sdf::Sensor &_sdf) } result.reset(sensor); - return std::move(result); + return result; } /////////////////////////////////////////////////