Add the missing & for 3 std::string function arguments
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user