Remove old experimental includes
We are now using c++17 so we no longer need experimental optional and
any. We can use the standard any and optional now.
Change-Id: I88fcb4258c69ac5ad9766e2c65463c52a3b7f05f
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/sensor.cpp b/sensor.cpp
index 21f3d87..0a0971f 100644
--- a/sensor.cpp
+++ b/sensor.cpp
@@ -118,9 +118,7 @@
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