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

View File

@ -23,8 +23,8 @@ template<typename T>
class CircularBuffer {
public:
using Range = std::span<T>;
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:
/**