fix warnings
Fix a couple warnings so we can use meson warning level 3. Instances of
the following warnings are found and resolved:
Wreorder
Wsign-compare
Change-Id: Ia223b42aa6bf743cfa0e7042cc3d5a18977459be
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/include/sensor.hpp b/include/sensor.hpp
index f83a45e..263cbfb 100644
--- a/include/sensor.hpp
+++ b/include/sensor.hpp
@@ -19,7 +19,7 @@
const double max, const double min) :
name(name),
configurationPath(configurationPath), objectType(objectType),
- thresholds(std::move(thresholdData)), maxValue(max), minValue(min),
+ maxValue(max), minValue(min), thresholds(std::move(thresholdData)),
hysteresis((max - min) * 0.01)
{
}