]> git.saurik.com Git - wxWidgets.git/commitdiff
Added missing return type
authorJulian Smart <julian@anthemion.co.uk>
Tue, 13 Nov 2007 15:11:26 +0000 (15:11 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 13 Nov 2007 15:11:26 +0000 (15:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/cmdargs.h

index e3d74c031ab3558f1bb28cc2e0ae0719b28863bd..a120c45870fd7cc6e6be3d22bda227398c09ffd4 100644 (file)
@@ -141,7 +141,7 @@ private:
 
 // provide global operator overload for compatibility with the existing code
 // 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();
 }