diff options
author | RJ Skerry-Ryan <rryan@mixxx.org> | 2018-09-19 08:23:55 -0700 |
---|---|---|
committer | RJ Skerry-Ryan <rryan@mixxx.org> | 2018-10-16 17:50:07 -0700 |
commit | 42bf8d214e52ee052861c37ca42b02aefd5bef03 (patch) | |
tree | 91bcfb1fe1dec4a1abf8cf7643c491918d746049 /src/encoder | |
parent | 52d5bdfba0fc940145c55d43c565c1984352677b (diff) |
Declare classes that call virtual functions in their construction/destructor final.
Found with clang-tidy.
Diffstat (limited to 'src/encoder')
-rw-r--r-- | src/encoder/encodermp3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/encodermp3.h b/src/encoder/encodermp3.h index 2162aec5c9..bef27c1cf7 100644 --- a/src/encoder/encodermp3.h +++ b/src/encoder/encodermp3.h @@ -6,7 +6,7 @@ #include "util/types.h" #include "encoder/encoder.h" -class EncoderMp3 : public Encoder { +class EncoderMp3 final : public Encoder { public: static const int MONO_BITRATE_THRESHOLD; static const int MONO_VBR_THRESHOLD; |