From: Václav Slavík Date: Sun, 30 Sep 2007 10:52:08 +0000 (+0000) Subject: _WX_DECLARE_OBJARRAY was missing reserve() declaration X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/43de4157369117be56e1718362330d7a671e9689 _WX_DECLARE_OBJARRAY was missing reserve() declaration git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/dynarray.h b/include/wx/dynarray.h index d165c3bc5c..5356425475 100644 --- a/include/wx/dynarray.h +++ b/include/wx/dynarray.h @@ -557,7 +557,8 @@ public: \ \ ~name(); \ \ - void Alloc(size_t count) { reserve(count); } \ + void Alloc(size_t count) { base::reserve(count); } \ + void reserve(size_t count) { base::reserve(count); } \ size_t GetCount() const { return base_array::size(); } \ size_t size() const { return base_array::size(); } \ bool IsEmpty() const { return base_array::empty(); } \