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

This commit is contained in:
Max Kellermann 2024-07-29 22:21:24 +02:00
parent 10311b3a65
commit 596d2d93dd
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ template<typename T>
class CircularBuffer { class CircularBuffer {
public: public:
using Range = std::span<T>; using Range = std::span<T>;
typedef typename Range::pointer pointer; using pointer = typename Range::pointer;
typedef typename Range::size_type size_type; using size_type = typename Range::size_type;
protected: protected:
/** /**