summaryrefslogtreecommitdiffstats
path: root/sensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sensor.cpp')
-rw-r--r--sensor.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/sensor.cpp b/sensor.cpp
index 21f3d87..0a0971f 100644
--- a/sensor.cpp
+++ b/sensor.cpp
@@ -118,9 +118,7 @@ std::shared_ptr<ValueObject> Sensor::addValue(const RetryIO& retryIO,
auto it = obj.find(InterfaceType::STATUS);
if (it != obj.end())
{
- statusIface =
- std::experimental::any_cast<std::shared_ptr<StatusObject>>(
- it->second);
+ statusIface = std::any_cast<std::shared_ptr<StatusObject>>(it->second);
}
// If there's no fault file or the sensor has a fault file and
OpenPOWER on IntegriCloud