util/CircularBuffer: use `using` instead of `typedef`
This commit is contained in:
parent
10311b3a65
commit
596d2d93dd
|
@ -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:
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue