From: Mayank Haarit Date: Mon, 26 Mar 2018 11:34:14 +0000 (+0530) Subject: Removed compilation error X-Git-Tag: submit/tizen/20190131.065036~82 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b29476472e1c1d0071c5270aa098f16bdd19f2c;p=platform%2Fcore%2Fapi%2Fmulti-device-group.git Removed compilation error Changed e.reason() -> e.what() Signed-off-by: Mayank Haarit --- diff --git a/src/companion-manager/src/comp_iot.cpp b/src/companion-manager/src/comp_iot.cpp index 1e8553b..e9bcac7 100644 --- a/src/companion-manager/src/comp_iot.cpp +++ b/src/companion-manager/src/comp_iot.cpp @@ -691,7 +691,7 @@ int comp_iot_discovery_resource(comp_resource_type_e resource_type, int timeout, found_cb); } } catch (OCException &e) { - LOG_ERR("Failed to find resource %s", e.reason()); + LOG_ERR("Failed to find resource %s", e.what()); ret = e.code(); }