summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-12-17 13:55:41 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-12-17 13:55:41 +0100
commitf4fb961df5d751dfcbd10b297bb4eaaf8096ce34 (patch)
treef823ca4792f4b7c291992aea2c92010ac3ac8f7d /src
parent720e31a5113c25e48d7754bb812ab84c6c31d1d9 (diff)
downloadbiboumi-f4fb961df5d751dfcbd10b297bb4eaaf8096ce34.tar.gz
biboumi-f4fb961df5d751dfcbd10b297bb4eaaf8096ce34.tar.bz2
biboumi-f4fb961df5d751dfcbd10b297bb4eaaf8096ce34.tar.xz
biboumi-f4fb961df5d751dfcbd10b297bb4eaaf8096ce34.zip
And another trivial -Weffc++ warning
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/xmpp_parser.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_parser.hpp b/src/xmpp/xmpp_parser.hpp
index b87ee6d..79c9f8f 100644
--- a/src/xmpp/xmpp_parser.hpp
+++ b/src/xmpp/xmpp_parser.hpp
@@ -118,6 +118,9 @@ private:
std::vector<std::function<void(const Stanza&)>> stanza_callbacks;
std::vector<std::function<void(const XmlNode&)>> stream_open_callbacks;
std::vector<std::function<void(const XmlNode&)>> stream_close_callbacks;
+
+ XmppParser(const XmppParser&) = delete;
+ XmppParser& operator=(const XmppParser&) = delete;
};
#endif // XMPP_PARSER_INCLUDED