summaryrefslogtreecommitdiff
path: root/include/intrusive_list.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-07-09 14:38:06 +0200
committerAttila Molnar <attilamolnar@hush.com>2014-07-09 14:38:06 +0200
commitc7cc5558558d95b021687525d94a07476aee9fd2 (patch)
tree0fa2c2b5de6c6294a082be832f5dea7ba9f1058c /include/intrusive_list.h
parent7282c2250e02c3ea2da57508d885c09c9881c4f0 (diff)
Make the name of intrusive list class configurable using a define
Diffstat (limited to 'include/intrusive_list.h')
-rw-r--r--include/intrusive_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/intrusive_list.h b/include/intrusive_list.h
index ae323edb8..7a127eb58 100644
--- a/include/intrusive_list.h
+++ b/include/intrusive_list.h
@@ -50,4 +50,6 @@ class intrusive_list_node
friend class intrusive_list<T, Tag>;
};
+#define INSPIRCD_INTRUSIVE_LIST_NAME intrusive_list
#include "intrusive_list_impl.h"
+#undef INSPIRCD_INTRUSIVE_LIST_NAME