mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-27 19:17:06 +08:00
Add the wxWARN_UNUSED attribute for wxArrayString
This commit is contained in:
+2
-2
@@ -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<wxString>
|
||||
class WXDLLIMPEXP_BASE wxWARN_UNUSED wxArrayString : public wxBaseArray<wxString>
|
||||
{
|
||||
public:
|
||||
// type of function used by wxArrayString::Sort()
|
||||
@@ -155,7 +155,7 @@ private:
|
||||
#include <iterator>
|
||||
#include "wx/afterstd.h"
|
||||
|
||||
class WXDLLIMPEXP_BASE wxArrayString
|
||||
class WXDLLIMPEXP_BASE wxWARN_UNUSED wxArrayString
|
||||
{
|
||||
public:
|
||||
// type of function used by wxArrayString::Sort()
|
||||
|
||||
Reference in New Issue
Block a user