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, 3 insertions, 1 deletions
diff --git a/src/irc/iid.cpp b/src/irc/iid.cpp
index ff14da5..d442013 100644
--- a/src/irc/iid.cpp
+++ b/src/irc/iid.cpp
@@ -5,6 +5,8 @@
#include <utils/encoding.hpp>
+constexpr char Iid::separator[];
+
Iid::Iid(const std::string& local, const std::string& server, Iid::Type type):
type(type),
local(local),
diff --git a/src/irc/iid.hpp b/src/irc/iid.hpp
index a857ae9..44861c1 100644
--- a/src/irc/iid.hpp
+++ b/src/irc/iid.hpp
@@ -54,7 +54,7 @@ public:
User,
Server,
};
- static constexpr auto separator = "%";
+ static constexpr char separator[]{"%"};
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);