diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-02-08 23:57:46 -0500 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-02-09 20:37:04 -0500 |
commit | 150147aed2951ba0b5c925b2c4f023c5e01f7272 (patch) | |
tree | ee6bb4039081aa4b72dd130e379e0854920b34d0 /types.hpp | |
parent | 07934a6447905f97a1ef9ca65c20a7bf8e71564e (diff) | |
download | phosphor-inventory-manager-150147aed2951ba0b5c925b2c4f023c5e01f7272.tar.gz phosphor-inventory-manager-150147aed2951ba0b5c925b2c4f023c5e01f7272.zip |
Use std::any
Replace holder types with std::any.
Change-Id: I0cd8c2804ad4bff79a0cfe93589e699afb095e5f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'types.hpp')
-rw-r--r-- | types.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,7 @@ #include <map> #include <string> #include <sdbusplus/message.hpp> +#include <experimental/any> namespace phosphor { @@ -11,6 +12,8 @@ namespace inventory namespace manager { +namespace any_ns = std::experimental; + /** @brief Inventory manager supported property types. */ using InterfaceVariantType = sdbusplus::message::variant<bool, int64_t, std::string>; |