(Scripting) Removing const from parameters
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 14 May 2014 14:56:09 +0000 (15:56 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 27 May 2014 14:18:59 +0000 (15:18 +0100)
Change-Id: Ie9d7011092e60f0b279c6e979e21260901f47d2b

dali/public-api/scripting/scripting.h

index b7ef072..52e68d0 100644 (file)
@@ -89,7 +89,7 @@ bool SetIfEqual(const std::string& a, const std::string& b, T& set, T value)
  * @return The equivalent enumeration for the given string.
  */
 template< typename T >
-T GetEnumeration( const std::string& value, const StringEnum< T >* table, const unsigned int tableCount )
+T GetEnumeration( const std::string& value, const StringEnum< T >* table, unsigned int tableCount )
 {
   T retVal( table->value );
   bool set( false );
@@ -118,7 +118,7 @@ T GetEnumeration( const std::string& value, const StringEnum< T >* table, const
  * @return The equivalent enumeration for the given string.
  */
 template< typename T >
-std::string GetEnumerationName( const T& value, const StringEnum< T >* table, const unsigned int tableCount )
+std::string GetEnumerationName( T value, const StringEnum< T >* table, unsigned int tableCount )
 {
   std::string string( String::EMPTY );