diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-Sockets.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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<Socket> io); + Worker(IO<Socket> io, void *); virtual const char * getName(); virtual void Do(); IO<Socket> m_io; String m_name; }; -Worker::Worker(IO<Socket> io) : m_io(io) { +Worker::Worker(IO<Socket> io, void *) : m_io(io) { m_name = m_io->getName(); Printer::log(M_STATUS, "Got connection: %s", m_name.to_charp()); } |