From 84ae29d0eadb5baa7ad4f517c3ce62995205d2f5 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 30 Aug 2014 10:35:21 +0200 Subject: Move the intrusive list containers into the insp namespace --- src/modules.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules.cpp b/src/modules.cpp index 42a9e8010..cb5b9c32c 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -32,13 +32,13 @@ #include #endif -static intrusive_list* dynrefs = NULL; +static insp::intrusive_list* dynrefs = NULL; void dynamic_reference_base::reset_all() { if (!dynrefs) return; - for (intrusive_list::iterator i = dynrefs->begin(); i != dynrefs->end(); ++i) + for (insp::intrusive_list::iterator i = dynrefs->begin(); i != dynrefs->end(); ++i) (*i)->resolve(); } @@ -670,7 +670,7 @@ dynamic_reference_base::dynamic_reference_base(Module* Creator, const std::strin : name(Name), value(NULL), creator(Creator) { if (!dynrefs) - dynrefs = new intrusive_list; + dynrefs = new insp::intrusive_list; dynrefs->push_front(this); // Resolve unless there is no ModuleManager (part of class InspIRCd) -- cgit v1.2.3