Fix some GCC 3.2 -O2 warnings.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-04-07 17:32:19 +00:00
parent 9ce8d6a2b0
commit 02a48e3b0a
4 changed files with 7 additions and 8 deletions

View File

@@ -126,8 +126,7 @@ public:
wxVectorBase& operator = (const wxVectorBase& vb)
{
bool rc = copy(vb);
wxASSERT(rc);
wxCHECK(copy(vb), *this);
return *this;
}
};
@@ -146,8 +145,7 @@ public:\
cls() {}\
cls(const cls& c)\
{\
bool rc = copy(c);\
wxASSERT(rc);\
wxCHECK2(copy(c), return);\
}\
~cls()\
{\
@@ -161,8 +159,7 @@ class exp cls : public wxVectorBase\
public:\
void push_back(const obj& o)\
{\
bool rc = Alloc(size() + 1);\
wxASSERT(rc);\
wxCHECK2(Alloc(size() + 1), return);\
Append(new obj(o));\
};\
void pop_back()\