From b227875f989977e9e7e0a2be7c6b2104d0232078 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 15 Jul 2018 14:38:01 +0200 Subject: [PATCH] Remove CMPFUNC##T definition from WX_DECLARE_OBJARRAY macro It is unnecessary and fails to compile when "T" is not an identifier (but e.g. a pointer type). --- include/wx/dynarray.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index c1566953a6..fc58e89897 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -657,7 +657,6 @@ private: }; \ typedef wxBaseObjectArray \ wxBaseObjectArrayFor##name; \ - typedef int (wxCMPFUNC_CONV *CMPFUNC##T)(T **pItem1, T **pItem2); \ classdecl name : public wxBaseObjectArrayFor##name \ { \ public: \