From a67b9de1742efbff29ec08093b220565eab7df23 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 19 Jul 2008 20:34:14 +0000 Subject: 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 --- include/socketengines/socketengine_epoll.h | 1 - include/socketengines/socketengine_iocp.h | 1 - include/socketengines/socketengine_kqueue.h | 1 - include/socketengines/socketengine_ports.h | 1 - include/socketengines/socketengine_select.h | 1 - 5 files changed, 5 deletions(-) (limited to 'include/socketengines') 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 #include #include "inspircd_config.h" -#include "globals.h" #include "inspircd.h" #include "socketengine.h" #include 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 #include #include "inspircd_config.h" -#include "globals.h" #include "inspircd.h" #include #include 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 #include #include "inspircd_config.h" -#include "globals.h" #include "inspircd.h" #include "socketengine.h" #include 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 #endif // WINDOWS #include "inspircd_config.h" -#include "globals.h" #include "inspircd.h" #include "socketengine.h" -- cgit v1.2.3