diff options
author | louiz’ <louiz@louiz.org> | 2016-09-22 00:00:13 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-09-22 00:00:13 +0200 |
commit | 07e2209596a1fbcc1d6f97d68bfda8e2add19ea2 (patch) | |
tree | ee244f8ddf7dcb4731d34a5c5a27c1c7daa917a1 /src/irc | |
parent | 35fc5d6f290eeccd6d2f7267eed7355ed59d356e (diff) | |
download | biboumi-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/irc')
-rw-r--r-- | src/irc/iid.cpp | 2 | ||||
-rw-r--r-- | src/irc/iid.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/iid.cpp b/src/irc/iid.cpp index c951a49..ff14da5 100644 --- a/src/irc/iid.cpp +++ b/src/irc/iid.cpp @@ -5,7 +5,7 @@ #include <utils/encoding.hpp> -Iid::Iid(const std::string local, const std::string server, Iid::Type type): +Iid::Iid(const std::string& local, const std::string& server, Iid::Type type): type(type), local(local), server(server) diff --git a/src/irc/iid.hpp b/src/irc/iid.hpp index 7361c51..a857ae9 100644 --- a/src/irc/iid.hpp +++ b/src/irc/iid.hpp @@ -58,7 +58,7 @@ public: Iid(const std::string& iid, const std::set<char>& chantypes); Iid(const std::string& iid, const std::initializer_list<char>& chantypes); Iid(const std::string& iid, const Bridge* bridge); - Iid(const std::string local, const std::string server, Type type); + Iid(const std::string& local, const std::string& server, Type type); Iid() = default; Iid(const Iid&) = default; |