Support Variant Type size_t
size_t type will be used for countable/sizable properties like MemorySize.
Signed-off-by: Alpana Kumari <alpankum@in.ibm.com>
Change-Id: I001320eae72afd3aa96209c93579ef7fb20d722f
diff --git a/types.hpp b/types.hpp
index 6f842ae..1840edf 100644
--- a/types.hpp
+++ b/types.hpp
@@ -30,7 +30,7 @@
/** @brief Inventory manager supported property types. */
using InterfaceVariantType =
- std::variant<bool, int64_t, std::string, std::vector<uint8_t>>;
+ std::variant<bool, size_t, int64_t, std::string, std::vector<uint8_t>>;
template <typename T>
using InterfaceType = std::map<std::string, T>;