From 53f805318894b62867d44be66bb9f4b7e2e7a1bf Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 3 Jan 2020 15:50:39 +0100 Subject: [PATCH] util/StringView: use `using` instead of `typedef` --- src/util/StringView.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/StringView.hxx b/src/util/StringView.hxx index 8b5064785..a99f435a5 100644 --- a/src/util/StringView.hxx +++ b/src/util/StringView.hxx @@ -42,9 +42,9 @@ template struct BasicStringView : ConstBuffer { - typedef typename ConstBuffer::size_type size_type; - typedef typename ConstBuffer::value_type value_type; - typedef typename ConstBuffer::pointer_type pointer_type; + using typename ConstBuffer::size_type; + using typename ConstBuffer::value_type; + using typename ConstBuffer::pointer_type; using ConstBuffer::data; using ConstBuffer::size;