Skip to content
Snippets Groups Projects
Commit 9efa9f6c authored by Emilio Corigliano's avatar Emilio Corigliano
Browse files

[Analog] Fixing warning of copy constructor of AnalogPressureSensor

parent 885fed7c
No related branches found
No related tags found
No related merge requests found
......@@ -49,9 +49,9 @@ public:
}
AnalogPressureSensor(AnalogPressureSensor&& other)
: getVoltage{std::move(other.getVoltage)}, offset{other.offset},
supplyVoltage{other.supplyVoltage}, maxPressure{other.maxPressure},
minPressure{other.minPressure}, offsetMutex{}
: getVoltage{std::move(other.getVoltage)}, offsetMutex{},
offset{other.offset}, supplyVoltage{other.supplyVoltage},
maxPressure{other.maxPressure}, minPressure{other.minPressure}
{
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment