From: Woochanlee Date: Tue, 25 May 2021 03:21:02 +0000 (+0900) Subject: libaurum: Fix build warning in Until.cc X-Git-Tag: submit/tizen/20210525.032747~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F29%2F258729%2F1;p=platform%2Fcore%2Fuifw%2Faurum.git libaurum: Fix build warning in Until.cc shared ptr can't cast to void * (%p) Change-Id: Ia5b614fa29e6ae34000db9ca37b755dc440a9981 --- diff --git a/libaurum/src/Until.cc b/libaurum/src/Until.cc index dea7f6d..c243fca 100644 --- a/libaurum/src/Until.cc +++ b/libaurum/src/Until.cc @@ -7,7 +7,7 @@ std::function Until::hasObject( const std::shared_ptr 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 obj = searchable->findObject(selector); return obj.get() != nullptr; }; @@ -17,7 +17,7 @@ std::function(const ISearchable *)> Until::findObject( const std::shared_ptr selector) { return [=](const ISearchable *searchable) -> std::shared_ptr { - LOG_SCOPE_F(INFO, "Until::findObject sel:%p, search:%p", selector, searchable); + LOG_SCOPE_F(INFO, "Until::findObject search:%p", searchable); std::shared_ptr obj = searchable->findObject(selector); return obj; }; @@ -29,4 +29,4 @@ std::function 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 +}