Add std::vector<double> to json variant type
This was missing and causing failures during patch.
Tested-by: Successfully patched a Stepwise controller
Change-Id: Ib29a72c1a2b82b3cadcb12573465d652d19ee11c
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/src/EntityManager.cpp b/src/EntityManager.cpp
index 94708b8..64c8f90 100644
--- a/src/EntityManager.cpp
+++ b/src/EntityManager.cpp
@@ -73,8 +73,9 @@
static constexpr std::array<const char*, 4> settableInterfaces = {
"Thresholds", "Pid", "Pid.Zone", "Stepwise"};
using JsonVariantType =
- std::variant<std::vector<std::string>, std::string, int64_t, uint64_t,
- double, int32_t, uint32_t, int16_t, uint16_t, uint8_t, bool>;
+ std::variant<std::vector<std::string>, std::vector<double>, std::string,
+ int64_t, uint64_t, double, int32_t, uint32_t, int16_t,
+ uint16_t, uint8_t, bool>;
using BasicVariantType =
std::variant<std::string, int64_t, uint64_t, double, int32_t, uint32_t,
int16_t, uint16_t, uint8_t, bool>;