Minor refactoring in thresholds
No functional changes
Tested:
- All unit tests are passing
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com>
Change-Id: I96360276cc7e7797a9e90a577804e94014e0bd91
diff --git a/src/discrete_threshold.hpp b/src/discrete_threshold.hpp
index a471027..48510de 100644
--- a/src/discrete_threshold.hpp
+++ b/src/discrete_threshold.hpp
@@ -60,6 +60,8 @@
sensorName(name),
dwell(dwell), timer(ioc)
{}
+ ThresholdDetail(const ThresholdDetail&) = delete;
+ ThresholdDetail(ThresholdDetail&&) = delete;
};
using SensorDetails =
std::unordered_map<std::shared_ptr<interfaces::Sensor>,