diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-16 11:31:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-16 11:31:58 +0000 |
commit | 55bd1494b060dba7c266b91824f3fcce64a4d7a8 (patch) | |
tree | 5b92ec6b2c20e917a0bd3fe2b31327d545067e17 /include | |
parent | 31ea95dfe605d5bcd8e7496bfaa264c68e4ea0dd (diff) |
Removed __single_client_alloc again because gcc devs were smoking crack and removed it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1406 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/channels.h | 10 | ||||
-rw-r--r-- | include/connection.h | 4 | ||||
-rw-r--r-- | include/modules.h | 2 | ||||
-rw-r--r-- | include/users.h | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/include/channels.h b/include/channels.h index 7771c292d..7df2d665e 100644 --- a/include/channels.h +++ b/include/channels.h @@ -84,15 +84,15 @@ class ModeParameter : public classbase /** Holds a complete ban list */ -typedef std::vector<BanItem, __single_client_alloc> BanList; +typedef std::vector<BanItem> BanList; /** Holds a complete exempt list */ -typedef std::vector<ExemptItem, __single_client_alloc> ExemptList; +typedef std::vector<ExemptItem> ExemptList; /** Holds a complete invite list */ -typedef std::vector<InviteItem, __single_client_alloc> InviteList; +typedef std::vector<InviteItem> InviteList; /** Holds all relevent information for a channel. * This class represents a channel, and contains its name, modes, time created, topic, topic set time, @@ -112,7 +112,7 @@ class chanrec : public Extensible /** User list (casted to char*'s to stop forward declaration stuff) * (chicken and egg scenario!) */ - std::vector<char*, __single_client_alloc> internal_userlist; + std::vector<char*> internal_userlist; /** Channel topic. * If this is an empty string, no channel topic is set. @@ -196,7 +196,7 @@ class chanrec : public Extensible * The resulting pointer to the vector should be considered * readonly and only modified via AddUser and DelUser. */ - std::vector<char*, __single_client_alloc> *GetUsers(); + std::vector<char*> *GetUsers(); /** Creates a channel record and initialises it with default values */ diff --git a/include/connection.h b/include/connection.h index c92934c3f..b84d39df9 100644 --- a/include/connection.h +++ b/include/connection.h @@ -110,7 +110,7 @@ class ircd_connector : public Extensible * So for A->B->C, if this was the record for B it would contain A and C * whilever both servers are connected to B. */ - std::vector<std::string, __single_client_alloc> routes; + std::vector<std::string> routes; /** Create an outbound connection to a listening socket @@ -273,7 +273,7 @@ class connection : public Extensible /** With a serverrec, this is a list of all established server connections. * With a userrec this is unused. */ - std::vector<ircd_connector, __single_client_alloc> connectors; + std::vector<ircd_connector> connectors; /** Default constructor */ diff --git a/include/modules.h b/include/modules.h index 26fea050d..da2bfe023 100644 --- a/include/modules.h +++ b/include/modules.h @@ -69,7 +69,7 @@ typedef file_cache string_list; /** Holds a list of users in a channel */ -typedef std::deque<userrec*, __single_client_alloc> chanuserlist; +typedef std::deque<userrec*> chanuserlist; // This #define allows us to call a method in all diff --git a/include/users.h b/include/users.h index 7077aaa56..2dda51984 100644 --- a/include/users.h +++ b/include/users.h @@ -91,13 +91,13 @@ class ConnectClass : public classbase /** Holds a complete list of all channels to which a user has been invited and has not yet joined. */ -typedef std::vector<Invited, __single_client_alloc> InvitedList; +typedef std::vector<Invited> InvitedList; /** Holds a complete list of all allow and deny tags from the configuration file (connection classes) */ -typedef std::vector<ConnectClass, __single_client_alloc> ClassVector; +typedef std::vector<ConnectClass> ClassVector; /** Holds all information about a user * This class stores all information about a user connected to the irc server. Everything about a |