diff options
author | James Feist <james.feist@linux.intel.com> | 2018-06-15 11:36:27 -0700 |
---|---|---|
committer | James Feist <james.feist@linux.intel.com> | 2018-06-15 11:42:32 -0700 |
commit | 006d33c4a7e18abcba8cbbe9c24a10fb08c9b745 (patch) | |
tree | ef048f07fe74d4f60f69315a939511ff3092c59a /types.hpp | |
parent | 510eb9cc13a9437f9fc4965c080be8136d5e1320 (diff) | |
download | phosphor-host-ipmid-006d33c4a7e18abcba8cbbe9c24a10fb08c9b745.tar.gz phosphor-host-ipmid-006d33c4a7e18abcba8cbbe9c24a10fb08c9b745.zip |
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>
Diffstat (limited to 'types.hpp')
-rw-r--r-- | types.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -16,9 +16,9 @@ using DbusInterface = std::string; 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>; |