diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-25 20:03:55 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-25 20:03:55 +0000 |
commit | fa2cdd0bb89330cfd9a6c49c4705da2a3cb02834 (patch) | |
tree | 558ff9feb41839be63b2a58168dc9623ecd3a283 /include/modules.h | |
parent | 5c05313b6e979968d25a57d04da320a0c1be1b6c (diff) |
Force heap allocation of refcountbase, create usecountbase for non-allocation reference counting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11978 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/modules.h b/include/modules.h index 8bda9a725..26c4ef466 100644 --- a/include/modules.h +++ b/include/modules.h @@ -298,10 +298,8 @@ enum Implementation * its methods will be called when irc server events occur. class inherited from module must be * instantiated by the ModuleFactory class (see relevent section) for the module to be initialised. */ -class CoreExport Module : public classbase +class CoreExport Module : public classbase, public usecountbase { - unsigned int refcount; - friend class reference_base; public: /** File that this module was loaded from */ |