summaryrefslogtreecommitdiff
path: root/src/lib/active_text.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-10-26 15:16:30 +0200
committerCarl Hetherington <cth@carlh.net>2022-10-26 15:16:30 +0200
commit4b01fa582bc6a30ce75be72275238e6cc7d0dfbe (patch)
tree508e629287c4d3bda998b28f905744a054dc7c5b /src/lib/active_text.h
parent96ff854f8bca0ec9215bfb5933766fcbee106398 (diff)
Allow move construction of ActiveText.
Diffstat (limited to 'src/lib/active_text.h')
-rw-r--r--src/lib/active_text.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/active_text.h b/src/lib/active_text.h
index d5ce4cb07..5430f9681 100644
--- a/src/lib/active_text.h
+++ b/src/lib/active_text.h
@@ -45,6 +45,9 @@ public:
ActiveText (ActiveText const&) = delete;
ActiveText& operator= (ActiveText const&) = delete;
+ ActiveText(ActiveText&& other);
+ ActiveText& operator=(ActiveText&& other);
+
std::list<PlayerText> get_burnt (dcpomatic::DCPTimePeriod period, bool always_burn_captions) const;
void clear_before (dcpomatic::DCPTime time);
void clear ();