summaryrefslogtreecommitdiffstats
path: root/monitor/nonzero_speed_trust.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'monitor/nonzero_speed_trust.hpp')
-rw-r--r--monitor/nonzero_speed_trust.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/nonzero_speed_trust.hpp b/monitor/nonzero_speed_trust.hpp
index e1f787f..7e6a85a 100644
--- a/monitor/nonzero_speed_trust.hpp
+++ b/monitor/nonzero_speed_trust.hpp
@@ -54,7 +54,7 @@ class NonzeroSpeed : public Group
_sensors.end(),
[](const auto& s)
{
- return std::get<0>(s)->getInput() != 0;
+ return s.sensor->getInput() != 0;
});
}
};
OpenPOWER on IntegriCloud