From 55f0b7f9a858079f5856e5545035348e20037029 Mon Sep 17 00:00:00 2001 From: Lauri Nurmi Date: Thu, 10 Oct 2024 11:43:36 +0300 Subject: [PATCH] Add the wxWARN_UNUSED attribute for wxArrayString --- include/wx/arrstr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index b3dea15437..8a3223211d 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -65,7 +65,7 @@ inline int wxCMPFUNC_CONV wxNaturalStringSortDescending(const wxString& s1, cons typedef int (wxCMPFUNC_CONV *CMPFUNCwxString)(wxString*, wxString*); -class WXDLLIMPEXP_BASE wxArrayString : public wxBaseArray +class WXDLLIMPEXP_BASE wxWARN_UNUSED wxArrayString : public wxBaseArray { public: // type of function used by wxArrayString::Sort() @@ -155,7 +155,7 @@ private: #include #include "wx/afterstd.h" -class WXDLLIMPEXP_BASE wxArrayString +class WXDLLIMPEXP_BASE wxWARN_UNUSED wxArrayString { public: // type of function used by wxArrayString::Sort()