From 43de4157369117be56e1718362330d7a671e9689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 30 Sep 2007 10:52:08 +0000 Subject: [PATCH] _WX_DECLARE_OBJARRAY was missing reserve() declaration git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dynarray.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); } \