X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17e656b003b919551fe8a3f057f7d8ec35149c03..98c919483746ad0836f8f70a7d12f8e2d1e7d52b:/include/wx/dynarray.h diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index d96553737a..f70cc6c2f3 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -186,8 +186,9 @@ private: // ---------------------------------------------------------------------------- #define _WX_DEFINE_ARRAY(T, name, classexp) \ -wxCOMPILE_TIME_ASSERT(sizeof(T) <= sizeof(long), \ - TypeIsTooBigToBeStoredInWxArray); \ +wxCOMPILE_TIME_ASSERT2(sizeof(T) <= sizeof(long), \ + TypeIsTooBigToBeStoredInWxArray, \ + name); \ typedef int (CMPFUNC_CONV *CMPFUNC##T)(T *pItem1, T *pItem2); \ classexp name : public wxBaseArray \ { \ @@ -230,8 +231,9 @@ public: \ // ---------------------------------------------------------------------------- #define _WX_DEFINE_SORTED_ARRAY(T, name, defcomp, classexp) \ -wxCOMPILE_TIME_ASSERT(sizeof(T) <= sizeof(long), \ - TypeIsTooBigToBeStoredInWxArray); \ +wxCOMPILE_TIME_ASSERT2(sizeof(T) <= sizeof(long), \ + TypeIsTooBigToBeStoredInWxArray, \ + name); \ typedef int (CMPFUNC_CONV *SCMPFUNC##T)(T pItem1, T pItem2); \ classexp name : public wxBaseArray \ { \