Commit 53f80531 authored by Max Kellermann's avatar Max Kellermann

util/StringView: use `using` instead of `typedef`

parent e654c6e0
...@@ -42,9 +42,9 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment