ports/x11/kdebase3/files/patch-kicker-applet-launcher-easyvector.h
Pawel Pekala 7efff4d6b1 - Fix build with clang [1]
- Fix plist problems when building with clang

PR:		ports/172103 [1]
Submitted by:	Oliver Pinter <oliver.pntr@gmail.com>
Feature safe:	yes
2012-11-24 17:46:24 +00:00

29 lines
896 B
C++

--- kicker/applets/launcher/easyvector.h.orig 2012-11-24 11:38:20.000000000 +0100
+++ kicker/applets/launcher/easyvector.h 2012-11-24 11:39:40.000000000 +0100
@@ -87,7 +87,7 @@
template < class VALUE, bool CHECKINDEX >
void EasyVector< VALUE, CHECKINDEX >::eraseAt(Index index)
{ _checkIndex(index);
- erase(this->begin()+index);
+ this->erase(this->begin()+index);
}
@@ -108,7 +108,7 @@
this->push_back(value);
return;
}
- insert(this->begin()+index,value);
+ this->insert(this->begin()+index,value);
}
@@ -116,7 +116,7 @@
void EasyVector< VALUE, CHECKINDEX >::insertAt(EasyVector< VALUE, CHECKINDEX >::Index index,const EasyVector< VALUE, CHECKINDEX > &v)
{ index=_convertInsertIndex(index);
_checkInsertIndex(index);
- insert(this->begin()+index,v.begin(),v.end());
+ this->insert(this->begin()+index,v.begin(),v.end());
}