From 51464e095c4e3300f5576014e0a9a85d4050b7d7 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 20 Feb 2016 11:29:50 +0000 Subject: Fix build errors on CentOS 6 and OpenBSD. --- include/numericbuilder.h | 2 +- src/coremods/core_ison.cpp | 2 +- src/coremods/core_whois.cpp | 2 +- 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 { public: Builder(LocalUser* user, unsigned int num, bool addparam = true, size_t additionalsize = 0) - : GenericBuilder(WriteNumericSink(user), num, addparam, additionalsize + user->nick.size()) + : Numeric::GenericBuilder(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) { } }; -- cgit v1.2.3