From 95e6096a3407f18c7ac0c9f1c541bf6cc488d58a Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Fri, 31 Mar 2017 13:01:02 +0900 Subject: [PATCH] Revert "[Tizen] Change parameter type of GrabKeyList APIs to const reference" This reverts commit 3eafa0a291d6cf7d04fd61076bc11e3afd40377c. Change-Id: I1fca766ee762eb4c6b9ad95e658d65e68caeb5ce --- adaptors/ecore/wayland/key-grab-ecore-wl.cpp | 4 ++-- adaptors/tizen/key-grab.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adaptors/ecore/wayland/key-grab-ecore-wl.cpp b/adaptors/ecore/wayland/key-grab-ecore-wl.cpp index 85f92c3..12ad210 100755 --- a/adaptors/ecore/wayland/key-grab-ecore-wl.cpp +++ b/adaptors/ecore/wayland/key-grab-ecore-wl.cpp @@ -82,7 +82,7 @@ bool UngrabKey( Window window, Dali::KEY daliKey ) 0, 0 ); } -Dali::Vector GrabKeyList( Window window, const Dali::Vector& daliKeyVector, const Dali::Vector& grabModeVector) +Dali::Vector GrabKeyList( Window window, const Dali::Vector daliKeyVector, const Dali::Vector grabModeVector) { Dali::Vector resultVector; Eina_List *keyList = NULL, *grabList = NULL, *l = NULL, *m = NULL; @@ -152,7 +152,7 @@ Dali::Vector GrabKeyList( Window window, const Dali::Vector& da return resultVector; } -Dali::Vector UngrabKeyList( Window window, const Dali::Vector& daliKeyVector ) +Dali::Vector UngrabKeyList( Window window, const Dali::Vector daliKeyVector ) { Dali::Vector resultVector; Eina_List *keyList = NULL, *ungrabList = NULL, *l = NULL, *m = NULL; diff --git a/adaptors/tizen/key-grab.h b/adaptors/tizen/key-grab.h index 898779b..65d11e5 100755 --- a/adaptors/tizen/key-grab.h +++ b/adaptors/tizen/key-grab.h @@ -128,7 +128,7 @@ DALI_IMPORT_API bool UngrabKey( Window window, Dali::KEY daliKey ); * @param[in] grabModeVector The Dali::Vector of grab modes for the keys * @return Dali::Vector Size is zero when error occurs, true/false if the grab succeeds/fails. */ -DALI_IMPORT_API Dali::Vector GrabKeyList( Window window, const Dali::Vector& daliKeyVector, const Dali::Vector& grabModeVector); +DALI_IMPORT_API Dali::Vector GrabKeyList( Window window, const Dali::Vector daliKeyVector, const Dali::Vector grabModeVector); /** @@ -144,7 +144,7 @@ DALI_IMPORT_API Dali::Vector GrabKeyList( Window window, const Dali::Vecto * @note If this function is called between key down and up events of a grabbed key, * an application doesn't receive the key up event. */ -DALI_IMPORT_API Dali::Vector UngrabKeyList( Window window, const Dali::Vector& daliKeyVector ); +DALI_IMPORT_API Dali::Vector UngrabKeyList( Window window, const Dali::Vector daliKeyVector ); } // namespace KeyGrab -- 2.7.4