summaryrefslogtreecommitdiff
path: root/src/connection.cpp
diff options
context:
space:
mode:
authorGravatar brain2005-05-15 22:58:24 +0000
committerGravatar brain2005-05-15 22:58:24 +0000
commitab01aaeeee9aed655df2eec2522072233fe3aa57 (patch)
treeba5f3d6f130e6363491afe8d2d1808c8033a8878 /src/connection.cpp
parentChanged to use __single_client_alloc, supposedly faster in single-thread situ... (diff)
Changed to use __single_client_alloc, faster on most systems in a single thread
Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/connection.cpp')
-rw-r--r--src/connection.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/connection.cpp b/src/connection.cpp
index 384f626e2..b627c2494 100644
--- a/src/connection.cpp
+++ b/src/connection.cpp
@@ -14,6 +14,8 @@
* ---------------------------------------------------
*/
+using namespace std;
+
#include <connection.h>
#include <unistd.h>
#include <fcntl.h>
@@ -30,13 +32,11 @@
#include "inspstring.h"
#include "helperfuncs.h"
-using namespace std;
-
-extern std::vector<Module*> modules;
-extern std::vector<ircd_module*> factory;
+extern std::vector<Module*, __single_client_alloc> modules;
+extern std::vector<ircd_module*, __single_client_alloc> factory;
-std::deque<std::string> xsums;
+std::deque<std::string, __single_client_alloc> xsums;
extern int MODCOUNT;