X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fdcpomatic_socket.h;h=870e7315c3126fb67b67fa3b493ce2be34ee8a56;hb=f0c10e92b849566e458bc323f8783a6fe83e52d2;hp=fa5250a1ad184225f6994f0c6767dd072c28e9c5;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/dcpomatic_socket.h b/src/lib/dcpomatic_socket.h index fa5250a1a..870e7315c 100644 --- a/src/lib/dcpomatic_socket.h +++ b/src/lib/dcpomatic_socket.h @@ -19,6 +19,7 @@ */ #include +#include /** @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: - Socket (int timeout = 30); + explicit Socket (int timeout = 30); /** @return Our underlying socket */ boost::asio::ip::tcp::socket& socket () {