summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.cc b/test/test.cc
index 06954822d..6d5efa455 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -289,7 +289,7 @@ BOOST_AUTO_TEST_CASE (client_server_test)
Config::instance()->set_server_port (61920);
Server server (&log);
- thread t (boost::bind (&Server::run, &server, 1));
+ new thread (boost::bind (&Server::run, &server, 1));
ServerDescription description ("localhost", 1);
shared_ptr<EncodedData> remotely_encoded = frame.encode_remotely (&description);