From 5b7745fa4733e95a35171eac2a8f3bc30d4f0ae6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 17 Oct 2002 16:38:49 +0000 Subject: [PATCH] gcc 3.x -Wshadow warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/string.h b/include/wx/string.h index 1c6dbc1f0b..7d86d8b4f2 100644 --- a/include/wx/string.h +++ b/include/wx/string.h @@ -833,7 +833,7 @@ public: // returns true if the string is empty bool empty() const { return IsEmpty(); } // inform string about planned change in size - void reserve(size_t size) { Alloc(size); } + void reserve(size_t sz) { Alloc(sz); } // lib.string.access // return the character at position n