diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-17 15:56:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-17 15:56:52 +0300 |
commit | 3e05d92dcb5f6c2017bc462554901ba27816bdb4 (patch) | |
tree | 3276a7c3527006b74afc00c197ab48a3a43b1e9e /protocols/IRCG/src/irclib.cpp | |
parent | e285d61d903c2616f5a7ea3026a1068ceb59b513 (diff) |
MNonCopyable - the common class to avoid declaring fake private constructors
Diffstat (limited to 'protocols/IRCG/src/irclib.cpp')
-rw-r--r-- | protocols/IRCG/src/irclib.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/irclib.cpp b/protocols/IRCG/src/irclib.cpp index 5cd1451059..5ffb9c22f1 100644 --- a/protocols/IRCG/src/irclib.cpp +++ b/protocols/IRCG/src/irclib.cpp @@ -75,7 +75,7 @@ void CIrcMessage::Reset() parameters.destroy(); } -CIrcMessage& CIrcMessage::operator = (const CIrcMessage& m) +CIrcMessage& CIrcMessage::operator=(const CIrcMessage& m) { if (&m != this) { sCommand = m.sCommand; @@ -89,7 +89,7 @@ CIrcMessage& CIrcMessage::operator = (const CIrcMessage& m) return *this; } -CIrcMessage& CIrcMessage::operator = (const wchar_t* lpszCmdLine) +CIrcMessage& CIrcMessage::operator=(const wchar_t* lpszCmdLine) { Reset(); ParseIrcCommand(lpszCmdLine); |