summaryrefslogtreecommitdiff
path: root/include/socketengines
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-19 20:34:14 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-07-19 20:34:14 +0000
commita67b9de1742efbff29ec08093b220565eab7df23 (patch)
tree1f0778b8e417fd24873b945f8d2e89a292a25942 /include/socketengines
parente93827e41cdb958314eb669e94c9dd1280b691c9 (diff)
Change modes in channels and users to use std::bitset instead of an array. This saves 56 bytes per channel, and 112 bytes per channel, with no loss in speed or ease of use in code. :). Thanks (VERY) much to Special for telling me about this.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10043 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socketengines')
-rw-r--r--include/socketengines/socketengine_epoll.h1
-rw-r--r--include/socketengines/socketengine_iocp.h1
-rw-r--r--include/socketengines/socketengine_kqueue.h1
-rw-r--r--include/socketengines/socketengine_ports.h1
-rw-r--r--include/socketengines/socketengine_select.h1
5 files changed, 0 insertions, 5 deletions
diff --git a/include/socketengines/socketengine_epoll.h b/include/socketengines/socketengine_epoll.h
index 07d0e3621..517f93d2e 100644
--- a/include/socketengines/socketengine_epoll.h
+++ b/include/socketengines/socketengine_epoll.h
@@ -18,7 +18,6 @@
#include <string>
#include <map>
#include "inspircd_config.h"
-#include "globals.h"
#include "inspircd.h"
#include "socketengine.h"
#include <sys/epoll.h>
diff --git a/include/socketengines/socketengine_iocp.h b/include/socketengines/socketengine_iocp.h
index 845228967..80689017c 100644
--- a/include/socketengines/socketengine_iocp.h
+++ b/include/socketengines/socketengine_iocp.h
@@ -19,7 +19,6 @@
#include "inspircd_config.h"
#include "inspircd_win32wrapper.h"
-#include "globals.h"
#include "inspircd.h"
#include "socketengine.h"
diff --git a/include/socketengines/socketengine_kqueue.h b/include/socketengines/socketengine_kqueue.h
index 49b51590a..14664918a 100644
--- a/include/socketengines/socketengine_kqueue.h
+++ b/include/socketengines/socketengine_kqueue.h
@@ -18,7 +18,6 @@
#include <string>
#include <map>
#include "inspircd_config.h"
-#include "globals.h"
#include "inspircd.h"
#include <sys/types.h>
#include <sys/event.h>
diff --git a/include/socketengines/socketengine_ports.h b/include/socketengines/socketengine_ports.h
index 519eaad8b..0b0655fb0 100644
--- a/include/socketengines/socketengine_ports.h
+++ b/include/socketengines/socketengine_ports.h
@@ -22,7 +22,6 @@
#include <string>
#include <map>
#include "inspircd_config.h"
-#include "globals.h"
#include "inspircd.h"
#include "socketengine.h"
#include <port.h>
diff --git a/include/socketengines/socketengine_select.h b/include/socketengines/socketengine_select.h
index cb4ed0ecf..91746b252 100644
--- a/include/socketengines/socketengine_select.h
+++ b/include/socketengines/socketengine_select.h
@@ -21,7 +21,6 @@
#include <sys/select.h>
#endif // WINDOWS
#include "inspircd_config.h"
-#include "globals.h"
#include "inspircd.h"
#include "socketengine.h"