Fix a clang warning

This commit is contained in:
Florent Le Coz
2015-11-05 02:37:46 +01:00
parent a44372e1b1
commit de6335b994
+1 -1
View File
@@ -141,7 +141,7 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
else if (type == "unavailable") else if (type == "unavailable")
{ {
const XmlNode* status = stanza.get_child("status", COMPONENT_NS); const XmlNode* status = stanza.get_child("status", COMPONENT_NS);
bridge->leave_irc_channel(std::move(iid), status ? std::move(status->get_inner()) : ""); bridge->leave_irc_channel(std::move(iid), status ? status->get_inner() : "");
} }
} }
else else