diff options
author | Florent Le Coz <louiz@louiz.org> | 2016-01-21 16:52:44 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2016-01-21 16:53:29 +0100 |
commit | 6770629bd7db1bf9f371a1d8a2376fad71cbd0f7 (patch) | |
tree | 68fe7f05c1ef09c07db470ca21c5cb44b4ff48c9 /src | |
parent | 85867976dcf27427708927ebebd3d8a4866e706b (diff) | |
download | biboumi-6770629bd7db1bf9f371a1d8a2376fad71cbd0f7.tar.gz biboumi-6770629bd7db1bf9f371a1d8a2376fad71cbd0f7.tar.bz2 biboumi-6770629bd7db1bf9f371a1d8a2376fad71cbd0f7.tar.xz biboumi-6770629bd7db1bf9f371a1d8a2376fad71cbd0f7.zip |
Fix a clang-check warning
I think it was a UB
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/biboumi_component.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp index 564c79a..65fbfc5 100644 --- a/src/xmpp/biboumi_component.cpp +++ b/src/xmpp/biboumi_component.cpp @@ -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; |