From: wchang kim Date: Tue, 4 Jul 2023 00:38:34 +0000 (+0900) Subject: Fixed the build error using gcc 13 X-Git-Tag: accepted/tizen/unified/20230710.154001~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F13%2F295213%2F1;p=platform%2Fcore%2Fuifw%2Flibscl-ui-nui.git Fixed the build error using gcc 13 Change-Id: I99417c153f72329f78f60523a0f242e2c8efec15 --- diff --git a/scl/sclcontext.h b/scl/sclcontext.h index 9f70bbd..ca9af8a 100644 --- a/scl/sclcontext.h +++ b/scl/sclcontext.h @@ -65,7 +65,7 @@ typedef struct { // A struct for identifying Magnifier custom label information } MagnifierCustomLabelIdx; class MagnifierCustomLabelIdxCompare { // Comparison class for MagnifierCustomLabelIdx public: - bool operator()(const MagnifierCustomLabelIdx x, const MagnifierCustomLabelIdx y) { + bool operator()(const MagnifierCustomLabelIdx& x, const MagnifierCustomLabelIdx& y) const { if (x.touch_id != y.touch_id) { return x.touch_id > y.touch_id; } else { diff --git a/scl/sclwindows.cpp b/scl/sclwindows.cpp index 5492bf6..242fdb8 100644 --- a/scl/sclwindows.cpp +++ b/scl/sclwindows.cpp @@ -304,10 +304,12 @@ bool CSCLWindows::close_popup(sclwindow window, sclboolean timed_out) } if (SCL_EVENT_PASS_ON == handler->on_event_notification(SCL_UINOTITYPE_POPUP_CLOSING, &desc)) { +#if 0 // NOT_USED SclNotiPopupClosedDesc closed_desc; closed_desc.ui_event_desc = NULL; closed_desc.input_mode = desc.input_mode; closed_desc.timed_out = desc.timed_out; +#endif handler->on_event_notification(SCL_UINOTITYPE_POPUP_CLOSED, &desc); CSCLKeyFocusHandler *focus_handler = CSCLKeyFocusHandler::get_instance(); @@ -1144,4 +1146,4 @@ void CSCLWindows::set_window_backend_callback(ISCLUIWindowBackendCallback *callb if (impl) { impl->set_window_backend_callback(callback, data); } -} \ No newline at end of file +}