From 00ee110ef1de083759c4f74bdfeff78752b6198f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 Jan 2015 19:54:07 +0000 Subject: Make ServerFinder stop nicely when dcpomatic_cli quits. --- src/lib/dcpomatic_socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/dcpomatic_socket.h') diff --git a/src/lib/dcpomatic_socket.h b/src/lib/dcpomatic_socket.h index d2ee6d555..b9859f600 100644 --- a/src/lib/dcpomatic_socket.h +++ b/src/lib/dcpomatic_socket.h @@ -23,10 +23,10 @@ * @brief A class to wrap a boost::asio::ip::tcp::socket with some things * that are useful for DCP-o-matic. * - * This class wraps some things that I could not work out how to do with boost; + * This class wraps some things that I could not work out how to do easily with boost; * most notably, sync read/write calls with timeouts. */ -class Socket +class Socket : public boost::noncopyable { public: Socket (int timeout = 30); -- cgit v1.2.3