summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_caps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_caps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_caps.cpp b/protocols/JabberG/src/jabber_caps.cpp
index a9ab470973..a9db096b77 100755
--- a/protocols/JabberG/src/jabber_caps.cpp
+++ b/protocols/JabberG/src/jabber_caps.cpp
@@ -618,7 +618,7 @@ CJabberClientPartialCaps* CJabberClientCapsManager::SetClientCaps(const char *sz
/////////////////////////////////////////////////////////////////////////////////////////
-static const char *str2buf(const std::string str)
+static const char *str2buf(const std::string &str)
{
return (str.empty()) ? nullptr : str.c_str();
}