projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make terminate_threads() less likely to leave _threads containing invalid pointers.
[dcpomatic.git]
/
src
/
lib
/
dcpomatic_socket.h
diff --git
a/src/lib/dcpomatic_socket.h
b/src/lib/dcpomatic_socket.h
index fa5250a1ad184225f6994f0c6767dd072c28e9c5..870e7315c3126fb67b67fa3b493ce2be34ee8a56 100644
(file)
--- a/
src/lib/dcpomatic_socket.h
+++ b/
src/lib/dcpomatic_socket.h
@@
-19,6
+19,7
@@
*/
#include <boost/asio.hpp>
*/
#include <boost/asio.hpp>
+#include <boost/noncopyable.hpp>
/** @class Socket
* @brief A class to wrap a boost::asio::ip::tcp::socket with some things
/** @class Socket
* @brief A class to wrap a boost::asio::ip::tcp::socket with some things
@@
-30,7
+31,7
@@
class Socket : public boost::noncopyable
{
public:
class Socket : public boost::noncopyable
{
public:
- Socket (int timeout = 30);
+
explicit
Socket (int timeout = 30);
/** @return Our underlying socket */
boost::asio::ip::tcp::socket& socket () {
/** @return Our underlying socket */
boost::asio::ip::tcp::socket& socket () {