summaryrefslogtreecommitdiff
path: root/src/smpte_subtitle_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-14 01:00:05 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-14 01:00:05 +0200
commit274dd30f2b11fe8ea563a2ac7436c9d463865b0b (patch)
tree199e7447606339d461f6f87d16095376d8f809b3 /src/smpte_subtitle_asset.h
parent4bd57fbbac67ac04ec47a9765b9f278aa1691851 (diff)
Fix/hide some warnings.
Diffstat (limited to 'src/smpte_subtitle_asset.h')
-rw-r--r--src/smpte_subtitle_asset.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h
index 6984b644..1ece2405 100644
--- a/src/smpte_subtitle_asset.h
+++ b/src/smpte_subtitle_asset.h
@@ -83,18 +83,18 @@ public:
std::shared_ptr<const Asset>,
EqualityOptions,
NoteHandler note
- ) const;
+ ) const override;
- std::vector<std::shared_ptr<LoadFontNode>> load_font_nodes () const;
+ std::vector<std::shared_ptr<LoadFontNode>> load_font_nodes () const override;
- std::string xml_as_string () const;
+ std::string xml_as_string () const override;
/** Write this content to a MXF file */
- void write (boost::filesystem::path path) const;
+ void write (boost::filesystem::path path) const override;
- void add (std::shared_ptr<Subtitle>);
- void add_font (std::string id, dcp::ArrayData data);
- void set_key (Key key);
+ void add (std::shared_ptr<Subtitle>) override;
+ void add_font (std::string id, dcp::ArrayData data) override;
+ void set_key (Key key) override;
void set_content_title_text (std::string t) {
_content_title_text = t;
@@ -168,7 +168,7 @@ public:
* e.g. a time_code_rate of 250 means that a subtitle time of 0:0:0:001
* represents 4ms.
*/
- int time_code_rate () const {
+ int time_code_rate () const override {
return _time_code_rate;
}
@@ -192,7 +192,7 @@ public:
protected:
- std::string pkl_type (Standard s) const {
+ std::string pkl_type (Standard s) const override {
return static_pkl_type (s);
}