From 37221dc091725c6fea09181b845308ab8f26c795 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 3 Apr 2012 08:46:21 -0700 Subject: Reworking a bit the way the queues are working, and thus, the way the LuaTMainTask queue works. --- includes/Socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/Socket.h') diff --git a/includes/Socket.h b/includes/Socket.h index 4a73277..f63edf0 100644 --- a/includes/Socket.h +++ b/includes/Socket.h @@ -81,7 +81,7 @@ class Listener : public ListenerBase { public: Listener(int port, const char * local = "", void * opaque = NULL) : ListenerBase(port, local, opaque) { } protected: - virtual void factory(IO & io, void * opaque) { createTask(new Worker(io, opaque)); } + virtual void factory(IO & io, void * opaque) { TaskMan::createTask(new Worker(io, opaque)); } virtual void setName() { m_name = String(ClassName(this).c_str()) + " - " + m_listener->getName(); } }; -- cgit v1.2.3