File icewm-gcc47.patch of Package icewm.openSUSE_13.1_Update
Index: icewm-1.3.7/src/yarray.h
===================================================================
--- icewm-1.3.7.orig/src/yarray.h
+++ icewm-1.3.7/src/yarray.h
@@ -152,7 +152,7 @@ public:
}
virtual void remove(const typename YArray<DataType *>::SizeType index) {
- if (index < YArray<DataType *>::getCount()) delete getItem(index);
+ if (index < YArray<DataType *>::getCount()) delete this->getItem(index);
YArray<DataType *>::remove(index);
}