From ab52473a09d10e9695a95dddceb9a467572ab694 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 13 Nov 2011 15:55:53 -0700 Subject: Adding an opaque pointer to the generic Socket listener. --- tests/test-Sockets.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test-Sockets.cc b/tests/test-Sockets.cc index fd6eaa0..0afedb1 100644 --- a/tests/test-Sockets.cc +++ b/tests/test-Sockets.cc @@ -7,14 +7,14 @@ using namespace Balau; class Worker : public Task { public: - Worker(IO io); + Worker(IO io, void *); virtual const char * getName(); virtual void Do(); IO m_io; String m_name; }; -Worker::Worker(IO io) : m_io(io) { +Worker::Worker(IO io, void *) : m_io(io) { m_name = m_io->getName(); Printer::log(M_STATUS, "Got connection: %s", m_name.to_charp()); } -- cgit v1.2.3