From 16b8693d636bdcbff58e7d184f37e3a06340965d Mon Sep 17 00:00:00 2001 From: Vernon Mauery Date: Wed, 1 May 2019 08:36:11 -0700 Subject: 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 --- selutility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'selutility.cpp') diff --git a/selutility.cpp b/selutility.cpp index 0d71a47..615ad81 100644 --- a/selutility.cpp +++ b/selutility.cpp @@ -138,7 +138,7 @@ GetSELEntryResponse convertLogEntrytoSEL(const std::string& objPath) using AssociationList = std::vector>; - sdbusplus::message::variant list; + std::variant list; reply.read(list); auto& assocs = std::get(list); @@ -200,7 +200,7 @@ std::chrono::seconds getEntryTimeStamp(const std::string& objPath) elog(); } - sdbusplus::message::variant timeStamp; + std::variant timeStamp; reply.read(timeStamp); std::chrono::milliseconds chronoTimeStamp(std::get(timeStamp)); -- cgit v1.2.1