From 596d2d93ddaaca6079a034b5d212240f640a474c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 29 Jul 2024 22:21:24 +0200 Subject: [PATCH] util/CircularBuffer: use `using` instead of `typedef` --- src/util/CircularBuffer.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/CircularBuffer.hxx b/src/util/CircularBuffer.hxx index de7b69f98..4ee795e2b 100644 --- a/src/util/CircularBuffer.hxx +++ b/src/util/CircularBuffer.hxx @@ -23,8 +23,8 @@ template class CircularBuffer { public: using Range = std::span; - typedef typename Range::pointer pointer; - typedef typename Range::size_type size_type; + using pointer = typename Range::pointer; + using size_type = typename Range::size_type; protected: /**