From 66cf5e6f9201183a15d325dd0d779fc7f53efc84 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 13 Aug 2021 00:20:28 +0200 Subject: [PATCH] Some missing override statements. --- src/lib/dcp_encoder.h | 8 ++++---- src/lib/ffmpeg_encoder.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/lib/dcp_encoder.h b/src/lib/dcp_encoder.h index 65782d968..cc4e7ae7f 100644 --- a/src/lib/dcp_encoder.h +++ b/src/lib/dcp_encoder.h @@ -40,13 +40,13 @@ public: DCPEncoder (std::shared_ptr film, std::weak_ptr job); ~DCPEncoder (); - void go (); + void go () override; - boost::optional current_rate () const; - Frame frames_done () const; + boost::optional 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; } diff --git a/src/lib/ffmpeg_encoder.h b/src/lib/ffmpeg_encoder.h index 710364b01..f450c8022 100644 --- a/src/lib/ffmpeg_encoder.h +++ b/src/lib/ffmpeg_encoder.h @@ -42,11 +42,11 @@ public: int x264_crf ); - void go (); + void go () override; - boost::optional current_rate () const; - Frame frames_done () const; - bool finishing () const { + boost::optional current_rate () const override; + Frame frames_done () const override; + bool finishing () const override { return false; } -- 2.30.2