Removed compilation error
authorMayank Haarit <mayank.h@samsung.com>
Mon, 26 Mar 2018 11:34:14 +0000 (17:04 +0530)
committersaerome.kim <saerome.kim@samsung.com>
Mon, 2 Jul 2018 10:38:49 +0000 (19:38 +0900)
Changed e.reason() -> e.what()

Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
src/companion-manager/src/comp_iot.cpp

index 1e8553b..e9bcac7 100644 (file)
@@ -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();
        }