std::string cannot be initiated from a bool type input parameter.
Change-Id: I4dcfbe21470b7f44a1be7ff2bf78881802af4763
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
std::string ctx::rule_validator::get_data_type(std::string type, std::string name, std::string key)
{
ctx::Json tmpl = get_template(name);
- IF_FAIL_RETURN(tmpl != EMPTY_JSON_OBJECT, false);
+ IF_FAIL_RETURN(tmpl != EMPTY_JSON_OBJECT, "");
ctx::Json detailed_tmpl;
tmpl.get(NULL, type.c_str(), &detailed_tmpl);