Added missing return type

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-11-13 15:11:26 +00:00
parent 431e319cc6
commit a790886d7f

View File

@ -141,7 +141,7 @@ private:
// provide global operator overload for compatibility with the existing code // provide global operator overload for compatibility with the existing code
// doing things like "if ( condition && argv )" // doing things like "if ( condition && argv )"
inline operator&&(bool cond, const wxCmdLineArgsArray& array) inline bool operator&&(bool cond, const wxCmdLineArgsArray& array)
{ {
return cond && !array.IsEmpty(); return cond && !array.IsEmpty();
} }