util/StringView: use using instead of typedef

This commit is contained in:
Max Kellermann 2020-01-03 15:50:39 +01:00
parent e654c6e005
commit 53f8053188

View File

@ -42,9 +42,9 @@
template<typename T>
struct BasicStringView : ConstBuffer<T> {
typedef typename ConstBuffer<T>::size_type size_type;
typedef typename ConstBuffer<T>::value_type value_type;
typedef typename ConstBuffer<T>::pointer_type pointer_type;
using typename ConstBuffer<T>::size_type;
using typename ConstBuffer<T>::value_type;
using typename ConstBuffer<T>::pointer_type;
using ConstBuffer<T>::data;
using ConstBuffer<T>::size;