Some missing override statements.
authorCarl Hetherington <cth@carlh.net>
Thu, 12 Aug 2021 22:20:28 +0000 (00:20 +0200)
committerCarl Hetherington <cth@carlh.net>
Thu, 12 Aug 2021 22:20:28 +0000 (00:20 +0200)
src/lib/dcp_encoder.h
src/lib/ffmpeg_encoder.h

index 65782d968c2580c2bde0d2a7e4b6b4cca227dad2..cc4e7ae7f50b2ca492d0d1de20879194217fc51d 100644 (file)
@@ -40,13 +40,13 @@ public:
        DCPEncoder (std::shared_ptr<const Film> film, std::weak_ptr<Job> job);
        ~DCPEncoder ();
 
-       void go ();
+       void go () override;
 
-       boost::optional<float> current_rate () const;
-       Frame frames_done () const;
+       boost::optional<float> current_rate () const override;
+       Frame frames_done () const override;
 
        /** @return true if we are in the process of calling Encoder::process_end */
-       bool finishing () const {
+       bool finishing () const override {
                return _finishing;
        }
 
index 710364b013840779d0fb80fdd204ca7d57960e75..f450c8022de62e53f05540a3060a392b9799c05e 100644 (file)
@@ -42,11 +42,11 @@ public:
                int x264_crf
                );
 
-       void go ();
+       void go () override;
 
-       boost::optional<float> current_rate () const;
-       Frame frames_done () const;
-       bool finishing () const {
+       boost::optional<float> current_rate () const override;
+       Frame frames_done () const override;
+       bool finishing () const override {
                return false;
        }