icewm/icewm-gcc47.patch

14 lines
493 B
Diff

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);
}