libaurum: apply smart pointer wider and extract impl out
[platform/core/uifw/aurum.git] / org.tizen.aurum-bootstrap / src / Commands / GetDeviceTimeCommand.cc
index a9f1142..ed71dcc 100644 (file)
@@ -88,7 +88,7 @@ public:
 {
     LOG_SCOPE_F(INFO, "GetDeviceTime --------------- ");
 
-    UiDevice* obj = UiDevice::getInstance(DeviceType::DEFAULT);
+    std::shared_ptr<UiDevice> obj = UiDevice::getInstance();
     ::aurum::ReqGetDeviceTime_TimeType type = mRequest->type();
     long long                          utcStampMs;