summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-09-22 00:00:13 +0200
committerlouiz’ <louiz@louiz.org>2016-09-22 00:00:13 +0200
commit07e2209596a1fbcc1d6f97d68bfda8e2add19ea2 (patch)
treeee244f8ddf7dcb4731d34a5c5a27c1c7daa917a1 /src/bridge
parent35fc5d6f290eeccd6d2f7267eed7355ed59d356e (diff)
downloadbiboumi-07e2209596a1fbcc1d6f97d68bfda8e2add19ea2.tar.gz
biboumi-07e2209596a1fbcc1d6f97d68bfda8e2add19ea2.tar.bz2
biboumi-07e2209596a1fbcc1d6f97d68bfda8e2add19ea2.tar.xz
biboumi-07e2209596a1fbcc1d6f97d68bfda8e2add19ea2.zip
Add the missing & for 3 std::string function arguments
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/bridge.cpp2
-rw-r--r--src/bridge/bridge.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index d4c2b2a..d16875f 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -563,7 +563,7 @@ void Bridge::on_gateway_ping(const std::string& irc_hostname, const std::string&
"", true);
}
-void Bridge::send_irc_invitation(const Iid& iid, const std::string to)
+void Bridge::send_irc_invitation(const Iid& iid, const std::string& to)
{
IrcClient* irc = this->get_irc_client(iid.get_server());
Jid to_jid(to);
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index 0e1fbf4..b278ea7 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -111,7 +111,7 @@ public:
void on_gateway_ping(const std::string& irc_hostname, const std::string& iq_id, const std::string& to_jid,
const std::string& from_jid);
- void send_irc_invitation(const Iid& iid, const std::string to);
+ void send_irc_invitation(const Iid& iid, const std::string& to);
/***
**