From 9efa9f6c5100a4109e614c1fdde1b7e2ae82b619 Mon Sep 17 00:00:00 2001 From: Emilio Corigliano <emilio.corigliano@skywarder.eu> Date: Mon, 9 Sep 2024 00:33:44 +0200 Subject: [PATCH] [Analog] Fixing warning of copy constructor of AnalogPressureSensor --- src/shared/sensors/analog/pressure/AnalogPressureSensor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/sensors/analog/pressure/AnalogPressureSensor.h b/src/shared/sensors/analog/pressure/AnalogPressureSensor.h index 50c8edee2..0c0a573a7 100644 --- a/src/shared/sensors/analog/pressure/AnalogPressureSensor.h +++ b/src/shared/sensors/analog/pressure/AnalogPressureSensor.h @@ -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} { } -- GitLab