- Fix build with gcc 4.7 - Fix build with new X11 headers OBS-URL: https://build.opensuse.org/request/show/121755 OBS-URL: https://build.opensuse.org/package/show/X11:windowmanagers/icewm?expand=0&rev=21
14 lines
493 B
Diff
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);
|
|
}
|
|
|