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/hints.h | |
| parent | 81b15e9e131094879b416b26601c673e6ae0d508 (diff) | |
Use std::atomic rather than boost::atomic.
It's in C++11.
Diffstat (limited to 'src/lib/hints.h')
| -rw-r--r-- | src/lib/hints.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hints.h b/src/lib/hints.h index b17da2c99..78cc615d3 100644 --- a/src/lib/hints.h +++ b/src/lib/hints.h @@ -26,8 +26,8 @@ #include "signaller.h" #include "text_type.h" #include "weak_film.h" -#include <boost/atomic.hpp> #include <boost/signals2.hpp> +#include <atomic> #include <string> #include <vector> @@ -111,7 +111,7 @@ private: bool _very_long_subtitle = false; boost::optional<dcpomatic::DCPTimePeriod> _last_subtitle; - boost::atomic<bool> _stop; + std::atomic<bool> _stop; bool _disable_audio_analysis = false; }; |
