util/StringView: use using
instead of typedef
This commit is contained in:
parent
e654c6e005
commit
53f8053188
@ -42,9 +42,9 @@
|
|||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct BasicStringView : ConstBuffer<T> {
|
struct BasicStringView : ConstBuffer<T> {
|
||||||
typedef typename ConstBuffer<T>::size_type size_type;
|
using typename ConstBuffer<T>::size_type;
|
||||||
typedef typename ConstBuffer<T>::value_type value_type;
|
using typename ConstBuffer<T>::value_type;
|
||||||
typedef typename ConstBuffer<T>::pointer_type pointer_type;
|
using typename ConstBuffer<T>::pointer_type;
|
||||||
|
|
||||||
using ConstBuffer<T>::data;
|
using ConstBuffer<T>::data;
|
||||||
using ConstBuffer<T>::size;
|
using ConstBuffer<T>::size;
|
||||||
|
Loading…
Reference in New Issue
Block a user