From 4f946291b7fd022b50fe5aacb9b851cebfbb2278 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 Mar 2008 16:53:34 +0000 Subject: A load of classes dont inherit from classbase, and they should. fix. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9191 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 2 +- include/dns.h | 2 +- include/hashcomp.h | 6 +++--- include/snomasks.h | 2 +- include/xline.h | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index f47c6680e..3d48759a7 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -203,7 +203,7 @@ struct MultiConfig */ typedef std::map opertype_t; -struct operclass_data +struct operclass_data : public Extensible { char* commandlist; char* cmodelist; diff --git a/include/dns.h b/include/dns.h index 09ba10d25..d4005dea8 100644 --- a/include/dns.h +++ b/include/dns.h @@ -72,7 +72,7 @@ typedef std::pair DNSInfo; /** Cached item stored in the query cache. */ -class CoreExport CachedQuery +class CoreExport CachedQuery : public classbase { public: /** The cached result data, an IP or hostname diff --git a/include/hashcomp.h b/include/hashcomp.h index ed285c783..4eb65823d 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -132,7 +132,7 @@ namespace irc * std::string, or a const char* const* array, using overloaded * constructors. */ - class CoreExport stringjoiner + class CoreExport stringjoiner : public classbase { private: /** Output string @@ -171,7 +171,7 @@ namespace irc * It can then reproduce this list, clamped to a maximum of MAXMODES * values per line. */ - class CoreExport modestacker + class CoreExport modestacker : public classbase { private: /** The mode sequence and its parameters @@ -242,7 +242,7 @@ namespace irc * list will be ":item". This is to allow for parsing 'source' fields * from data. */ - class CoreExport tokenstream + class CoreExport tokenstream : public classbase { private: /** Original string diff --git a/include/snomasks.h b/include/snomasks.h index 77bed517a..9541715e3 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -14,7 +14,7 @@ #ifndef __SNOMASKS_H__ #define __SNOMASKS_H__ -class Snomask +class Snomask : public Extensible { private: InspIRCd *ServerInstance; diff --git a/include/xline.h b/include/xline.h index 6d11256f2..2670f4bab 100644 --- a/include/xline.h +++ b/include/xline.h @@ -385,7 +385,7 @@ typedef std::pair IdentHostPair; * does not have to know the specifics of the internals of an XLine class * and/or how to call its constructor. */ -class CoreExport XLineFactory +class CoreExport XLineFactory : public classbase { protected: @@ -455,7 +455,7 @@ typedef XLineLookup::iterator LookupIter; * or any other line created by a module. It also manages XLineFactory classes which * can generate a specialized XLine for use by another module. */ -class CoreExport XLineManager +class CoreExport XLineManager : public classbase { protected: /** The owner/creator of this class -- cgit v1.2.3