diff options
Diffstat (limited to 'wm/icewm/patches/patch-src_yarray.h')
-rw-r--r-- | wm/icewm/patches/patch-src_yarray.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/wm/icewm/patches/patch-src_yarray.h b/wm/icewm/patches/patch-src_yarray.h new file mode 100644 index 00000000000..e265962e3dc --- /dev/null +++ b/wm/icewm/patches/patch-src_yarray.h @@ -0,0 +1,13 @@ +$NetBSD: patch-src_yarray.h,v 1.1 2012/11/16 20:07:48 joerg Exp $ + +--- src/yarray.h.orig 2012-11-16 19:20:22.000000000 +0000 ++++ src/yarray.h +@@ -150,7 +150,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); + } + |