diff options
author | William A. Kennington III <wak@google.com> | 2018-10-18 19:19:51 -0700 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2018-10-18 19:19:51 -0700 |
commit | 4cbdfef205ba4011018a3a287dd238e00509a757 (patch) | |
tree | 9c6ea5017b5749f91381ddd1ad5ccaddb6b70398 /sensor.cpp | |
parent | 0956017412c84ac2a264d44dbb3f201d2f6c96f1 (diff) | |
download | phosphor-hwmon-4cbdfef205ba4011018a3a287dd238e00509a757.tar.gz phosphor-hwmon-4cbdfef205ba4011018a3a287dd238e00509a757.zip |
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>
Diffstat (limited to 'sensor.cpp')
-rw-r--r-- | sensor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |