summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-13 15:55:53 -0700
committerPixel <pixel@nobis-crew.org>2011-11-13 15:55:53 -0700
commitab52473a09d10e9695a95dddceb9a467572ab694 (patch)
treee4a58979cf844c4936ea575e7eccf8992872411a /tests
parentb3b38455482f2d15f07a33ecf00f9dea113e7968 (diff)
Adding an opaque pointer to the generic Socket listener.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-Sockets.cc4
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());
}