[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>
// 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();