diff options
author | Vernon Mauery <vernon.mauery@linux.intel.com> | 2019-05-01 08:36:11 -0700 |
---|---|---|
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | 2019-05-14 15:46:08 +0000 |
commit | 16b8693d636bdcbff58e7d184f37e3a06340965d (patch) | |
tree | c15134a636e9450004c989e73d6aa1245707a02e /user_channel/channel_mgmt.hpp | |
parent | 23b7021c00b0a52cd7837c9d51cfa7fa52dc9776 (diff) | |
download | phosphor-host-ipmid-16b8693d636bdcbff58e7d184f37e3a06340965d.tar.gz phosphor-host-ipmid-16b8693d636bdcbff58e7d184f37e3a06340965d.zip |
remove usage of sdbusplus::message::variant
sdbusplus has had its alias of std::variant in place for long
enough. This changes all ipmid references to use std::variant
directly instead of the sdbusplus alias.
Tested-by: building and running ipmid
Change-Id: Id5b4136d4589aa598815edd3ef4202e64a7698e2
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'user_channel/channel_mgmt.hpp')
-rw-r--r-- | user_channel/channel_mgmt.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_channel/channel_mgmt.hpp b/user_channel/channel_mgmt.hpp index baeb8c7..b044f66 100644 --- a/user_channel/channel_mgmt.hpp +++ b/user_channel/channel_mgmt.hpp @@ -23,14 +23,14 @@ #include <ctime> #include <nlohmann/json.hpp> #include <sdbusplus/bus.hpp> +#include <variant> namespace ipmi { using Json = nlohmann::json; -using DbusVariant = - sdbusplus::message::variant<std::vector<std::string>, std::string, bool>; +using DbusVariant = std::variant<std::vector<std::string>, std::string, bool>; using DbusChObjProperties = std::vector<std::pair<std::string, DbusVariant>>; |