X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fclient_server_test.cc;h=7faf47c4158a72e5c86d88c37051a3b827f0cb12;hb=2499c41097f8410cb3016e095a85d68979485a7b;hp=d695f96ce182b3f15cba8a57d69836b83e2311e2;hpb=89af81886eeee57861bc23984a0583bec76d536d;p=dcpomatic.git diff --git a/test/client_server_test.cc b/test/client_server_test.cc index d695f96ce..7faf47c41 100644 --- a/test/client_server_test.cc +++ b/test/client_server_test.cc @@ -29,7 +29,7 @@ using boost::shared_ptr; using boost::thread; void -do_remote_encode (shared_ptr frame, shared_ptr description, shared_ptr locally_encoded) +do_remote_encode (shared_ptr frame, ServerDescription description, shared_ptr locally_encoded) { shared_ptr remotely_encoded; BOOST_CHECK_NO_THROW (remotely_encoded = frame->encode_remotely (description)); @@ -92,7 +92,7 @@ BOOST_AUTO_TEST_CASE (client_server_test) /* Let the server get itself ready */ dcpomatic_sleep (1); - shared_ptr description (new ServerDescription ("localhost", 2)); + ServerDescription description ("localhost", 2); list threads; for (int i = 0; i < 8; ++i) {