git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49911
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// provide global operator overload for compatibility with the existing code
// doing things like "if ( condition && argv )"
// 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();
}
{
return cond && !array.IsEmpty();
}