summaryrefslogtreecommitdiff
path: root/src/lib/dcpomatic_socket.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-29 19:54:07 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-29 19:54:07 +0000
commit00ee110ef1de083759c4f74bdfeff78752b6198f (patch)
treee342f557344ad7bdea4b0b6a6af5e44d858bcfcf /src/lib/dcpomatic_socket.h
parentf213fd833a840fc97e3875979ae7dc7cbbc883b1 (diff)
Make ServerFinder stop nicely when dcpomatic_cli quits.
Diffstat (limited to 'src/lib/dcpomatic_socket.h')
-rw-r--r--src/lib/dcpomatic_socket.h4
1 files changed, 2 insertions, 2 deletions
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);