Skip to content

Commit

Permalink
modplug: mark soundsource final
Browse files Browse the repository at this point in the history
This silences a compiler warning about the virtual close()
function call from the destructor bypassing the virtual dispatch.
  • Loading branch information
snue committed Jun 23, 2022
1 parent 55ecdc0 commit 911f72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sources/soundsourcemodplug.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace mixxx {
// Class for reading tracker files using libmodplug.
// The whole file is decoded at once and saved
// in RAM to allow seeking and smooth operation in Mixxx.
class SoundSourceModPlug : public SoundSource {
class SoundSourceModPlug final : public SoundSource {
public:
static constexpr int kChannelCount = 2;
static constexpr int kSampleRate = 44100;
Expand Down

0 comments on commit 911f72c

Please sign in to comment.