From a9754ce49bf616c1d18556e19dd213d9ed54fcfc Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 22 Mar 2010 18:02:09 +0000 Subject: Allow static initialization of dynamic_reference objects git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12648 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/modules.h') diff --git a/include/modules.h b/include/modules.h index 5a9cb90e2..d889d734d 100644 --- a/include/modules.h +++ b/include/modules.h @@ -287,6 +287,7 @@ class CoreExport dynamic_reference_base : public interfacebase void SetProvider(const std::string& newname); void lookup(); operator bool(); + static void reset_all(); }; template @@ -1492,9 +1493,6 @@ class CoreExport ModuleManager /** List of data services keyed by name */ std::multimap DataProviders; - /** List of all dynamic references that are currently active */ - std::vector ActiveDynrefs; - /** Simple, bog-standard, boring constructor. */ ModuleManager(); -- cgit v1.2.3