diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-03 17:30:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-03 17:30:56 +0300 |
commit | 412da1b25c0db3dadc5442901e1d037acb4d4d52 (patch) | |
tree | d243ee0d2cd97f13c9de5cc84014392d93e5b909 /protocols/Discord | |
parent | 6305aa8169ad23a08f7349cc982e2cd997d02ad0 (diff) |
minor code cleaning
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/proto.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 63dc029fb3..f68383b1d7 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -133,7 +133,6 @@ class CDiscordProto : public PROTO<CDiscordProto> pTimer->Stop(); } - public: CDiscordProtoImpl(CDiscordProto &pro) : m_proto(pro), m_markRead(Miranda_GetSystemWindow(), UINT_PTR(this)), @@ -142,9 +141,7 @@ class CDiscordProto : public PROTO<CDiscordProto> m_markRead.OnEvent = Callback(this, &CDiscordProtoImpl::OnMarkRead); m_heartBeat.OnEvent = Callback(this, &CDiscordProtoImpl::OnHeartBeat); } - }; - - CDiscordProtoImpl m_impl; + } m_impl; ////////////////////////////////////////////////////////////////////////////////////// // threads |