Add double to ipmi::Value type
ipmi::Value is used as the type in setDbusProperty. As
properties are allowed to be doubles, add it to the type.
Change-Id: I3d2dd5063100b8e73732740ce056fc476a7e1e44
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/types.hpp b/types.hpp
index eb4cf8c..b6bab94 100644
--- a/types.hpp
+++ b/types.hpp
@@ -16,9 +16,9 @@
using DbusObjectInfo = std::pair<DbusObjectPath, DbusService>;
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 = sdbusplus::message::variant<bool, uint8_t, int16_t, uint16_t,
+ int32_t, uint32_t, int64_t, uint64_t,
+ double, std::string>;
using PropertyMap = std::map<DbusProperty, Value>;