diff options
author | Max Kellermann <max@musicpd.org> | 2020-02-01 13:59:55 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-02-01 14:02:43 +0100 |
commit | bc6eca2115d8d333eed61d23a01958926bbd7a9c (patch) | |
tree | f817a3c9779566c18157d01595db293dd63a70e1 /src/encoder/plugins/WaveEncoderPlugin.cxx | |
parent | 72ec641f0d5a33de882a05a53e2f3a3b74226eb3 (diff) |
*: add `explicit`
Diffstat (limited to 'src/encoder/plugins/WaveEncoderPlugin.cxx')
-rw-r--r-- | src/encoder/plugins/WaveEncoderPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/plugins/WaveEncoderPlugin.cxx b/src/encoder/plugins/WaveEncoderPlugin.cxx index 77b172990..626972f2f 100644 --- a/src/encoder/plugins/WaveEncoderPlugin.cxx +++ b/src/encoder/plugins/WaveEncoderPlugin.cxx @@ -33,7 +33,7 @@ class WaveEncoder final : public Encoder { DynamicFifoBuffer<uint8_t> buffer; public: - WaveEncoder(AudioFormat &audio_format) noexcept; + explicit WaveEncoder(AudioFormat &audio_format) noexcept; /* virtual methods from class Encoder */ void Write(const void *data, size_t length) override; |