Use the verbose type_trait in AudioBuffer

This commit is contained in:
Paul Fd 2020-03-10 13:37:45 +01:00
parent f541179864
commit 9065f82339

View file

@ -28,7 +28,7 @@ namespace sfz
template <class Type, size_t MaxChannels = sfz::config::numChannels, unsigned int Alignment = SIMDConfig::defaultAlignment>
class AudioBuffer {
public:
using value_type = std::remove_cv_t<Type>;
using value_type = typename std::remove_cv<Type>::type;
using pointer = value_type*;
using const_pointer = const value_type*;
using iterator = pointer;