diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-03-12 15:23:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-03-12 15:23:44 +0100 |
| commit | 4f783a41d9927c2aad8b688e30d3a7a8aa81ba4f (patch) | |
| tree | 5c6abdd3c58eb932088c6dd107ebbdeffac31842 /src/lib/dcpomatic_socket.h | |
| parent | 6a9c43785bec412eda21d716434121a4cb66558b (diff) | |
Replace deprecated boost::asio::deadline_timer with boost::asio::system_timer.debun
Diffstat (limited to 'src/lib/dcpomatic_socket.h')
| -rw-r--r-- | src/lib/dcpomatic_socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcpomatic_socket.h b/src/lib/dcpomatic_socket.h index 4badfd14b..27e9ed318 100644 --- a/src/lib/dcpomatic_socket.h +++ b/src/lib/dcpomatic_socket.h @@ -22,7 +22,7 @@ #include "digester.h" #include "io_context.h" #include <boost/asio.hpp> -#include <boost/asio/deadline_timer.hpp> +#include <boost/asio/system_timer.hpp> #include <boost/scoped_ptr.hpp> @@ -102,7 +102,7 @@ private: #endif dcpomatic::io_context _io_context; - boost::asio::deadline_timer _deadline; + boost::asio::system_timer _deadline; boost::asio::ip::tcp::socket _socket; int _timeout; boost::scoped_ptr<Digester> _read_digester; |
