summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2016-02-20 11:29:50 +0000
committerPeter Powell <petpow@saberuk.com>2016-02-20 14:34:32 +0000
commit51464e095c4e3300f5576014e0a9a85d4050b7d7 (patch)
tree8d28d37130df136a018e125093ae15c35887d78e
parentc36146989890a075dbc9adecea20353f98f08378 (diff)
Fix build errors on CentOS 6 and OpenBSD.
-rw-r--r--include/numericbuilder.h2
-rw-r--r--src/coremods/core_ison.cpp2
-rw-r--r--src/coremods/core_whois.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/numericbuilder.h b/include/numericbuilder.h
index 9f4cfd7dd..36cfeedb4 100644
--- a/include/numericbuilder.h
+++ b/include/numericbuilder.h
@@ -113,7 +113,7 @@ class Numeric::Builder : public GenericBuilder<Sep, SendEmpty, WriteNumericSink>
{
public:
Builder(LocalUser* user, unsigned int num, bool addparam = true, size_t additionalsize = 0)
- : GenericBuilder<Sep, SendEmpty, WriteNumericSink>(WriteNumericSink(user), num, addparam, additionalsize + user->nick.size())
+ : Numeric::GenericBuilder<Sep, SendEmpty, WriteNumericSink>(WriteNumericSink(user), num, addparam, additionalsize + user->nick.size())
{
}
};
diff --git a/src/coremods/core_ison.cpp b/src/coremods/core_ison.cpp
index 8deeefc59..49da8931a 100644
--- a/src/coremods/core_ison.cpp
+++ b/src/coremods/core_ison.cpp
@@ -44,7 +44,7 @@ class IsonReplyBuilder : public Numeric::Builder<' ', true>
{
public:
IsonReplyBuilder(LocalUser* user)
- : Builder<' ', true>(user, 303)
+ : Numeric::Builder<' ', true>(user, 303)
{
}
diff --git a/src/coremods/core_whois.cpp b/src/coremods/core_whois.cpp
index 703ebbed3..ecc406a8c 100644
--- a/src/coremods/core_whois.cpp
+++ b/src/coremods/core_whois.cpp
@@ -105,7 +105,7 @@ class WhoisChanListNumericBuilder : public Numeric::GenericBuilder<' ', false, W
{
public:
WhoisChanListNumericBuilder(WhoisContextImpl& whois)
- : GenericBuilder<' ', false, WhoisNumericSink>(WhoisNumericSink(whois), 319, true, whois.GetSource()->nick.size() + whois.GetTarget()->nick.size() + 1)
+ : Numeric::GenericBuilder<' ', false, WhoisNumericSink>(WhoisNumericSink(whois), 319, true, whois.GetSource()->nick.size() + whois.GetTarget()->nick.size() + 1)
{
}
};