Fixed the build errors. 03/24103/1
authordaemyung jang <dm86.jang@samsung.com>
Fri, 4 Jul 2014 04:48:43 +0000 (13:48 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 13:19:39 +0000 (14:19 +0100)
[problem] Build error with gcc4.8
[cause] No declarations were found by argument-dependent lookup at the
        point of instantiation
[solution] Call the functions with this pointer.

Change-Id: Ib3aeea88f607f6d7a9f43afbaa5ca39497d9b039
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
dali/internal/common/owner-container.h

index cbf16e4ac3614eaf95c8502321346c54f49bbad9..e724e787c5ea2b9c8c891b8fa258470b91363cc5 100644 (file)
@@ -139,18 +139,18 @@ public:
     // Optimisation for the case that this is empty
     if( IsEmpty() )
     {
-      Swap( source );
+      this->Swap( source );
     }
     else
     {
       // make space for new items
-      Reserve( VectorBase::Count() + source.Count() );
+      this->Reserve( VectorBase::Count() + source.Count() );
       Iterator iter = source.Begin();
       ConstIterator end = source.End();
       for( ; iter != end; ++iter )
       {
         T pointer = *iter;
-        PushBack( pointer );
+        this->PushBack( pointer );
       }
       // cannot call Clear on OwnerContainer as that deletes the elements
       source.Vector< T >::Clear();