LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kdebase-gcc47.patch of Package kdebase3 (Project openSUSE:Factory)

diff -wruN kdebase-3.5.10.orig/kicker/applets/launcher/easyvector.h kdebase-3.5.10/kicker/applets/launcher/easyvector.h
--- kdebase-3.5.10.orig/kicker/applets/launcher/easyvector.h	2005-09-10 12:25:31.000000000 +0400
+++ kdebase-3.5.10/kicker/applets/launcher/easyvector.h	2012-04-08 19:34:43.631712361 +0400
@@ -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());
 }