From: Mattia Barbon Date: Sun, 20 Jun 2004 10:22:23 +0000 (+0000) Subject: Fix for declaring arrays for non-numeric/non-pointer types. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9cde322b937b6cd804229226cb44da0c73c2a3ed Fix for declaring arrays for non-numeric/non-pointer types. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index 5aa6d149ca..30c6d504c3 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -178,7 +178,7 @@ public: \ void Shrink(); \ \ size_t GetCount() const { return m_nCount; } \ - void SetCount(size_t n, T defval = T(0)); \ + void SetCount(size_t n, T defval = T()); \ bool IsEmpty() const { return m_nCount == 0; } \ size_t Count() const { return m_nCount; } \ \