summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-04-17 15:56:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-04-17 15:56:52 +0300
commit3e05d92dcb5f6c2017bc462554901ba27816bdb4 (patch)
tree3276a7c3527006b74afc00c197ab48a3a43b1e9e /plugins/SmileyAdd/src
parente285d61d903c2616f5a7ea3026a1068ceb59b513 (diff)
MNonCopyable - the common class to avoid declaring fake private constructors
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r--plugins/SmileyAdd/src/smileys.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SmileyAdd/src/smileys.h b/plugins/SmileyAdd/src/smileys.h
index 4f02daed07..d75d40c418 100644
--- a/plugins/SmileyAdd/src/smileys.h
+++ b/plugins/SmileyAdd/src/smileys.h
@@ -104,13 +104,13 @@ template<class T> struct SMOBJLIST : public OBJLIST<T>
{
SMOBJLIST() : OBJLIST<T>(5) {};
- SMOBJLIST<T>& operator = (const SMOBJLIST<T>& lst)
+ SMOBJLIST<T>& operator=(const SMOBJLIST<T>& lst)
{
OBJLIST<T>::destroy();
- return operator += (lst);
+ return operator+=(lst);
}
- SMOBJLIST<T>& operator += (const SMOBJLIST<T>& lst)
+ SMOBJLIST<T>& operator+=(const SMOBJLIST<T>& lst)
{
for (auto &it : lst)
insert(new T(*it));