summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-08-30 10:35:21 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-08-30 10:35:21 +0200
commit84ae29d0eadb5baa7ad4f517c3ce62995205d2f5 (patch)
tree49e211e34bf1dbbe18965da43c027dcbd64d9aa9 /src/modules.cpp
parent8fc268558586584479c622a3852f647eaf3a9b0e (diff)
Move the intrusive list containers into the insp namespace
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp6
1 files changed, 3 insertions, 3 deletions
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 <dirent.h>
#endif
-static intrusive_list<dynamic_reference_base>* dynrefs = NULL;
+static insp::intrusive_list<dynamic_reference_base>* dynrefs = NULL;
void dynamic_reference_base::reset_all()
{
if (!dynrefs)
return;
- for (intrusive_list<dynamic_reference_base>::iterator i = dynrefs->begin(); i != dynrefs->end(); ++i)
+ for (insp::intrusive_list<dynamic_reference_base>::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<dynamic_reference_base>;
+ dynrefs = new insp::intrusive_list<dynamic_reference_base>;
dynrefs->push_front(this);
// Resolve unless there is no ModuleManager (part of class InspIRCd)