summaryrefslogtreecommitdiff
path: root/src/xmpp/adhoc_commands_handler.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-12-17 13:37:57 +0100
committerFlorent Le Coz <louiz@louiz.org>2014-12-17 13:37:57 +0100
commit720e31a5113c25e48d7754bb812ab84c6c31d1d9 (patch)
tree5a697d40c8df6c71d37168e401a058b94f0b20cf /src/xmpp/adhoc_commands_handler.hpp
parent0ab5ecea133cef5a009bc34ba42c4eaacde6a7dd (diff)
downloadbiboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.gz
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.bz2
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.tar.xz
biboumi-720e31a5113c25e48d7754bb812ab84c6c31d1d9.zip
Fix a few issues reported by static analyzers
Diffstat (limited to 'src/xmpp/adhoc_commands_handler.hpp')
-rw-r--r--src/xmpp/adhoc_commands_handler.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/adhoc_commands_handler.hpp b/src/xmpp/adhoc_commands_handler.hpp
index 87d4d3d..7ddad47 100644
--- a/src/xmpp/adhoc_commands_handler.hpp
+++ b/src/xmpp/adhoc_commands_handler.hpp
@@ -36,7 +36,7 @@ public:
* Takes a copy of the <command/> node so we can actually edit it and use
* it as our return value.
*/
- XmlNode&& handle_request(const std::string& executor_jid, XmlNode command_node);
+ XmlNode handle_request(const std::string& executor_jid, XmlNode command_node);
/**
* Remove the session from the list. This is done to avoid filling the
* memory with waiting session (for example due to a client that starts