~singpolyma/biboumi

6770629bd7db1bf9f371a1d8a2376fad71cbd0f7 — Florent Le Coz 7 years ago 8586797
Fix a clang-check warning

I think it was a UB
1 files changed, 1 insertions(+), 1 deletions(-)

M src/xmpp/biboumi_component.cpp
M src/xmpp/biboumi_component.cpp => src/xmpp/biboumi_component.cpp +1 -1
@@ 543,7 543,7 @@ void BiboumiComponent::send_self_disco_info(const std::string& id, const std::st
  identity["type"] = "irc";
  identity["name"] = "Biboumi XMPP-IRC gateway";
  query.add_child(std::move(identity));
  for (const std::string& ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS})
  for (const char* ns: {DISCO_INFO_NS, MUC_NS, ADHOC_NS})
    {
      XmlNode feature("feature");
      feature["var"] = ns;