summaryrefslogtreecommitdiff
path: root/src/lib/active_text.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-29 08:31:23 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-29 08:31:23 +0200
commitb249700e1da7dd6631a8b4440587f4093a2bdef1 (patch)
tree71f88855e72b11f927d194f0676bac93845d26be /src/lib/active_text.h
parent94695fc3214917ad7310af36270ce1e0b88cdfa3 (diff)
Remove use of boost::noncopyable.
Diffstat (limited to 'src/lib/active_text.h')
-rw-r--r--src/lib/active_text.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/active_text.h b/src/lib/active_text.h
index f5211ae7f..b54957b3f 100644
--- a/src/lib/active_text.h
+++ b/src/lib/active_text.h
@@ -24,7 +24,6 @@
#include "dcpomatic_time.h"
#include "player_text.h"
-#include <boost/noncopyable.hpp>
#include <boost/thread/mutex.hpp>
#include <list>
#include <map>
@@ -34,9 +33,14 @@ class TextContent;
/** @class ActiveText
* @brief A class to maintain information on active subtitles for Player.
*/
-class ActiveText : public boost::noncopyable
+class ActiveText
{
public:
+ ActiveText () {}
+
+ ActiveText (ActiveText const&) = delete;
+ ActiveText& operator= (ActiveText const&) = delete;
+
std::list<PlayerText> get_burnt (dcpomatic::DCPTimePeriod period, bool always_burn_captions) const;
void clear_before (dcpomatic::DCPTime time);
void clear ();