X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d154ab3d291c0c1463d77818f07fb8a5bfe6bfb0..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/cmdargs.h diff --git a/include/wx/cmdargs.h b/include/wx/cmdargs.h index e3d74c031a..e4167f0fd6 100644 --- a/include/wx/cmdargs.h +++ b/include/wx/cmdargs.h @@ -3,7 +3,6 @@ // Purpose: declaration of wxCmdLineArgsArray helper class // Author: Vadim Zeitlin // Created: 2007-11-12 -// RCS-ID: $Id$ // Copyright: (c) 2007 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -136,12 +135,12 @@ private: mutable char **m_argsA; mutable wchar_t **m_argsW; - DECLARE_NO_COPY_CLASS(wxCmdLineArgsArray) + wxDECLARE_NO_COPY_CLASS(wxCmdLineArgsArray); }; // 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(); }