sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If43cbfdc7ec748b510cdb4af41a0f096689eaa9b
diff --git a/item_updater.cpp b/item_updater.cpp
index 9e5b173..52b60b1 100644
--- a/item_updater.cpp
+++ b/item_updater.cpp
@@ -42,12 +42,11 @@
using SVersion = server::Version;
using VersionPurpose = SVersion::VersionPurpose;
using VersionClass = phosphor::software::manager::Version;
- namespace mesg = sdbusplus::message;
- mesg::object_path objPath;
+ sdbusplus::message::object_path objPath;
auto purpose = VersionPurpose::Unknown;
std::string version;
- std::map<std::string, std::map<std::string, mesg::variant<std::string>>>
+ std::map<std::string, std::map<std::string, std::variant<std::string>>>
interfaces;
msg.read(objPath, interfaces);
std::string path(std::move(objPath));