summaryrefslogtreecommitdiff
path: root/src/sound/null_s.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/null_s.h')
-rw-r--r--src/sound/null_s.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sound/null_s.h b/src/sound/null_s.h
index b2acd9093..ca9adb546 100644
--- a/src/sound/null_s.h
+++ b/src/sound/null_s.h
@@ -17,17 +17,17 @@
/** Implementation of the null sound driver. */
class SoundDriver_Null : public SoundDriver {
public:
- /* virtual */ const char *Start(const char * const *param) { return NULL; }
+ const char *Start(const char * const *param) override { return NULL; }
- /* virtual */ void Stop() { }
- /* virtual */ const char *GetName() const { return "null"; }
+ void Stop() override { }
+ const char *GetName() const override { return "null"; }
};
/** Factory for the null sound driver. */
class FSoundDriver_Null : public DriverFactoryBase {
public:
FSoundDriver_Null() : DriverFactoryBase(Driver::DT_SOUND, 1, "null", "Null Sound Driver") {}
- /* virtual */ Driver *CreateInstance() const { return new SoundDriver_Null(); }
+ Driver *CreateInstance() const override { return new SoundDriver_Null(); }
};
#endif /* SOUND_NULL_H */