X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcpomatic_socket.h;h=49a27858892153e860ae46e3f3f557909da6a917;hp=1fa0b046f0c1c7e2490865bfaa41a99114f8dcfb;hb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;hpb=0d35820cf50d2789752b8776683b26d04642518d diff --git a/src/lib/dcpomatic_socket.h b/src/lib/dcpomatic_socket.h index 1fa0b046f..49a278588 100644 --- a/src/lib/dcpomatic_socket.h +++ b/src/lib/dcpomatic_socket.h @@ -22,7 +22,6 @@ #include #include #include -#include /** @class Socket * @brief A class to wrap a boost::asio::ip::tcp::socket with some things @@ -52,10 +51,10 @@ public: class ReadDigestScope { public: - ReadDigestScope (boost::shared_ptr socket); + ReadDigestScope (std::shared_ptr socket); bool check (); private: - boost::weak_ptr _socket; + std::weak_ptr _socket; }; /** After one of these is created everything that is sent from the socket will be @@ -65,10 +64,10 @@ public: class WriteDigestScope { public: - WriteDigestScope (boost::shared_ptr socket); + WriteDigestScope (std::shared_ptr socket); ~WriteDigestScope (); private: - boost::weak_ptr _socket; + std::weak_ptr _socket; }; private: