diff --git a/src/decoder/plugins/MpcdecDecoderPlugin.cxx b/src/decoder/plugins/MpcdecDecoderPlugin.cxx index 8c5fb9b74..ce86a15bf 100644 --- a/src/decoder/plugins/MpcdecDecoderPlugin.cxx +++ b/src/decoder/plugins/MpcdecDecoderPlugin.cxx @@ -45,7 +45,7 @@ struct mpc_decoder_data { static constexpr Domain mpcdec_domain("mpcdec"); static constexpr SampleFormat mpcdec_sample_format = SampleFormat::S24_P32; -typedef SampleTraits MpcdecSampleTraits; +using MpcdecSampleTraits = SampleTraits; static mpc_int32_t mpc_read_cb(mpc_reader *reader, void *ptr, mpc_int32_t size) diff --git a/src/decoder/plugins/VorbisDecoderPlugin.cxx b/src/decoder/plugins/VorbisDecoderPlugin.cxx index 21a770bd7..125ec95f2 100644 --- a/src/decoder/plugins/VorbisDecoderPlugin.cxx +++ b/src/decoder/plugins/VorbisDecoderPlugin.cxx @@ -50,8 +50,8 @@ class VorbisDecoder final : public OggDecoder { typedef int16_t out_sample_t; #else static constexpr SampleFormat sample_format = SampleFormat::FLOAT; - typedef float in_sample_t; - typedef float out_sample_t; + using in_sample_t = float; + using out_sample_t = float; #endif unsigned remaining_header_packets;