From a790886d7f38216c106640f22a9f27ed58a09ff8 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Tue, 13 Nov 2007 15:11:26 +0000 Subject: [PATCH] Added missing return type git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/cmdargs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }