Fix PropertySetSignalType signal interface signature 04/242604/4
authorSubhransu Mohanty <sub.mohanty@samsung.com>
Fri, 28 Aug 2020 08:13:41 +0000 (17:13 +0900)
committerDavid Steele <david.steele@samsung.com>
Fri, 9 Oct 2020 12:27:01 +0000 (13:27 +0100)
because Property::Value class is not a regular type each
time we pass by value it takes a deep copy(2 allocation)
this interface change will fix that issue.

Change-Id: I1c54c1fac00d0387f474c831df4eacf017dbd54b

dali/public-api/object/handle.h

index b98df2f7d58d7120b1788fc6b2a9cfa73dbaf9ce..d7dc63f42e8aaa18cc4bc44bf855e432396c2b80 100644 (file)
@@ -74,7 +74,7 @@ public:
   /**
    * @brief PropertySetSignal function prototype for signal handler. Called when a property is set on this object.
    */
-  using PropertySetSignalType = Signal<void(Handle& handle, Property::Index index, Property::Value value)>;
+  using PropertySetSignalType = Signal<void(Handle& handle, Property::Index index, const Property::Value& value)>;
 
 public:
   /**