Fix some compilation warning/errors that appear on FreeBSD
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include <network/resolver.hpp>
|
||||
#include <string.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <cstdlib>
|
||||
|
||||
using namespace std::string_literals;
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
class BiboumiComponent;
|
||||
class Poller;
|
||||
class ResultSetInfo;
|
||||
struct ResultSetInfo;
|
||||
|
||||
/**
|
||||
* A callback called for each IrcMessage we receive. If the message triggers
|
||||
|
||||
@@ -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),
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user