getValue() & setValue() APIs returned "no matching function argument" while being callled with the argument: string, AttributeValue
Previously this worked fine, this problem is being generated because of the commit:
https://gerrit.iotivity.org/gerrit/#/c/19585
Change-Id: Ibcf7d6f1d7e65a32ee7113ddaec958ab8073aa07
Signed-off-by: Mushfiqu Islam Antu <i.mushfiq@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19901
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
static const int AttributeValueNullIndex = 0;
typedef boost::variant<
NullType, // Note: this handles the null-type and must match the above static const
+ int,
int64_t,
double,
bool,
std::is_same<typename std::remove_cv<typename std::remove_reference<T>::type>::type, std::vector<std::vector<OCByteString>>>::value ||
std::is_same<typename std::remove_cv<typename std::remove_reference<T>::type>::type, std::vector<std::vector<std::vector<OCByteString>>>>::value ||
std::is_same<typename std::remove_cv<typename std::remove_reference<T>::type>::type, std::vector<uint8_t>>::value ||
+ std::is_same<typename std::remove_cv<typename std::remove_reference<T>::type>::type, AttributeValue>::value ||
std::is_same<typename std::remove_cv<typename std::remove_reference<T>::type>::type, NullType>::value;
};