proper fix for the gcc4.8 scope resolution issue 30/24630/1
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Thu, 17 Jul 2014 10:39:06 +0000 (11:39 +0100)
committerKimmo Hoikka <kimmo.hoikka@samsung.com>
Thu, 17 Jul 2014 10:39:06 +0000 (11:39 +0100)
[Problem]
[Cause]
[Solution]

Change-Id: Ia3563cfb6a5cafefd851311a571217901c64433b

dali/internal/common/owner-container.h

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