summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bridge/bridge.hpp2
-rw-r--r--src/irc/iid.cpp2
-rw-r--r--src/irc/iid.hpp2
3 files changed, 4 insertions, 2 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index 1a1d201..208de32 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -19,7 +19,7 @@
class BiboumiComponent;
class Poller;
-class ResultSetInfo;
+struct ResultSetInfo;
/**
* A callback called for each IrcMessage we receive. If the message triggers
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);