sdbusplus: replace message::variant with std::variant
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic7440c349fc69df0c74c9ecf6c2a3759aeca3e7d
diff --git a/snmp_notification.hpp b/snmp_notification.hpp
index 07a8518..5102fc6 100644
--- a/snmp_notification.hpp
+++ b/snmp_notification.hpp
@@ -48,8 +48,7 @@
using OID_LEN = size_t;
using Type = u_char;
-using Value =
- sdbusplus::message::variant<uint32_t, uint64_t, int32_t, std::string>;
+using Value = std::variant<uint32_t, uint64_t, int32_t, std::string>;
// Generic snmp trap ID
oid SNMPTrapOID[] = {1, 3, 6, 1, 6, 3, 1, 1, 4, 1, 0};
diff --git a/snmp_util.hpp b/snmp_util.hpp
index 7a38745..aef8c46 100644
--- a/snmp_util.hpp
+++ b/snmp_util.hpp
@@ -27,9 +27,8 @@
using DbusInterface = std::string;
using DbusProperty = std::string;
-using Value =
- sdbusplus::message::variant<bool, uint8_t, int16_t, uint16_t, int32_t,
- uint32_t, int64_t, uint64_t, std::string>;
+using Value = std::variant<bool, uint8_t, int16_t, uint16_t, int32_t, uint32_t,
+ int64_t, uint64_t, std::string>;
using PropertyMap = std::map<DbusProperty, Value>;