diff options
| author | James Feist <james.feist@linux.intel.com> | 2019-02-08 13:51:43 -0800 |
|---|---|---|
| committer | James Feist <james.feist@linux.intel.com> | 2019-02-08 13:51:43 -0800 |
| commit | 1f802f5e9086f3771a8b1d50c5af4a77be56cee0 (patch) | |
| tree | 08e05a8eb9c9f9e467d21df800bcfe9866c6b81b /ipmi | |
| parent | a510ea2b5a2bba96cc5b2bdc4541b2f68b8cf299 (diff) | |
| download | phosphor-pid-control-1f802f5e9086f3771a8b1d50c5af4a77be56cee0.tar.gz phosphor-pid-control-1f802f5e9086f3771a8b1d50c5af4a77be56cee0.zip | |
Move all variant usage to std
This just a style change, remove variant_ns
in favor of std.
Tested-by: it built
Change-Id: Id5a075e8b73a7724cbc5153fb7dfcf369e79c483
Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'ipmi')
| -rw-r--r-- | ipmi/manualcmds.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipmi/manualcmds.cpp b/ipmi/manualcmds.cpp index 73eec20..652f947 100644 --- a/ipmi/manualcmds.cpp +++ b/ipmi/manualcmds.cpp @@ -24,6 +24,7 @@ #include <sdbusplus/message.hpp> #include <string> #include <tuple> +#include <variant> enum ManualSubCmd { @@ -91,7 +92,7 @@ static ipmi_ret_t getFanCtrlProperty(uint8_t zoneId, bool* value, valueResponseMsg.read(propMap); - *value = sdbusplus::message::variant_ns::get<bool>(propMap[property]); + *value = std::get<bool>(propMap[property]); } catch (const sdbusplus::exception::SdBusError& ex) { |

