diff options
Diffstat (limited to 'src/irc/iid.cpp')
-rw-r--r-- | src/irc/iid.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/irc/iid.cpp b/src/irc/iid.cpp index 6b07793..a63a1c3 100644 --- a/src/irc/iid.cpp +++ b/src/irc/iid.cpp @@ -1,3 +1,4 @@ +#include <utility> #include <utils/tolower.hpp> #include <config/config.hpp> #include <bridge/bridge.hpp> @@ -7,10 +8,10 @@ constexpr char Iid::separator[]; -Iid::Iid(const std::string& local, const std::string& server, Iid::Type type): +Iid::Iid(std::string local, std::string server, Iid::Type type): type(type), - local(local), - server(server) + local(std::move(local)), + server(std::move(server)) { } |