libaurum: Fix build warning in Until.cc 29/258729/1
authorWoochanlee <wc0917.lee@samsung.com>
Tue, 25 May 2021 03:21:02 +0000 (12:21 +0900)
committerWoochanlee <wc0917.lee@samsung.com>
Tue, 25 May 2021 03:21:02 +0000 (12:21 +0900)
shared ptr can't cast to void * (%p)

Change-Id: Ia5b614fa29e6ae34000db9ca37b755dc440a9981

libaurum/src/Until.cc

index dea7f6d..c243fca 100644 (file)
@@ -7,7 +7,7 @@ std::function<bool(const ISearchable *)> Until::hasObject(
     const std::shared_ptr<UiSelector> selector)
 {
     return [=](const ISearchable *searchable) -> bool {
-        LOG_SCOPE_F(INFO, "Until::hasObject sel:%p, search:%p", selector, searchable);
+        LOG_SCOPE_F(INFO, "Until::hasObject search:%p", searchable);
         std::shared_ptr<UiObject> obj = searchable->findObject(selector);
         return obj.get() != nullptr;
     };
@@ -17,7 +17,7 @@ std::function<std::shared_ptr<UiObject>(const ISearchable *)> Until::findObject(
     const std::shared_ptr<UiSelector> selector)
 {
     return [=](const ISearchable *searchable) -> std::shared_ptr<UiObject> {
-        LOG_SCOPE_F(INFO, "Until::findObject sel:%p, search:%p", selector, searchable);
+        LOG_SCOPE_F(INFO, "Until::findObject search:%p", searchable);
         std::shared_ptr<UiObject> obj = searchable->findObject(selector);
         return obj;
     };
@@ -29,4 +29,4 @@ std::function<bool(const UiObject *)> Until::checkable(const bool isCheckable)
         LOG_SCOPE_F(INFO, "Until::checkable checkable:%d for obj %p", isCheckable, object);
         return object->isClickable() == isCheckable;
     };
-}
\ No newline at end of file
+}