summaryrefslogtreecommitdiff
path: root/src/irc
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc')
-rw-r--r--src/irc/iid.cpp2
-rw-r--r--src/irc/iid.hpp2
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;