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:
@@ -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()\
|
||||
|
Reference in New Issue
Block a user