diff --git a/src/pcm/Dither.cxx b/src/pcm/Dither.cxx index dfc5b4743..270ba4fe6 100644 --- a/src/pcm/Dither.cxx +++ b/src/pcm/Dither.cxx @@ -101,8 +101,8 @@ inline void PcmDither::Dither24To16(int16_t *dest, const int32_t *src, const int32_t *src_end) noexcept { - typedef SampleTraits ST; - typedef SampleTraits DT; + using ST = SampleTraits; + using DT = SampleTraits; DitherConvert(dest, src, src_end); } @@ -110,7 +110,7 @@ inline void PcmDither::Dither32To16(int16_t *dest, const int32_t *src, const int32_t *src_end) noexcept { - typedef SampleTraits ST; - typedef SampleTraits DT; + using ST = SampleTraits; + using DT = SampleTraits; DitherConvert(dest, src, src_end); }