diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-05-07 14:35:30 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-05-07 14:35:30 +0200 |
| commit | 4aef8dd81aeb7698aae314c5fe8fc35016d3502b (patch) | |
| tree | 4d1fb612c11afa6821702a5233918ae37be672c6 /src/lib/encode_server.h | |
| parent | 81b15e9e131094879b416b26601c673e6ae0d508 (diff) | |
Use std::atomic rather than boost::atomic.
It's in C++11.
Diffstat (limited to 'src/lib/encode_server.h')
| -rw-r--r-- | src/lib/encode_server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/encode_server.h b/src/lib/encode_server.h index 276212583..ea769d4fe 100644 --- a/src/lib/encode_server.h +++ b/src/lib/encode_server.h @@ -32,9 +32,9 @@ #include "exception_store.h" #include "server.h" #include <boost/asio.hpp> -#include <boost/atomic.hpp> #include <boost/thread.hpp> #include <boost/thread/condition.hpp> +#include <atomic> #include <string> @@ -72,7 +72,7 @@ private: bool _verbose; int _num_threads; Waker _waker; - boost::atomic<int> _frames_encoded; + std::atomic<int> _frames_encoded; struct Broadcast { |
