X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d154ab3d291c0c1463d77818f07fb8a5bfe6bfb0..c9c1faa490a451cdf42b35b92bfcc2c55d22bbe9:/include/wx/cmdargs.h?ds=sidebyside diff --git a/include/wx/cmdargs.h b/include/wx/cmdargs.h index e3d74c031a..a120c45870 100644 --- a/include/wx/cmdargs.h +++ b/include/wx/cmdargs.h @@ -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(); }