util/AllocatedArray: add missing type alias "value_type"

This commit is contained in:
Max Kellermann 2022-05-23 22:15:18 +02:00
parent fd47edb905
commit 97f78059a2

View File

@ -42,6 +42,7 @@ class AllocatedArray {
using Buffer = std::span<T>;
public:
using value_type = T;
using size_type = typename Buffer::size_type;
using reference = typename Buffer::reference;
using const_reference = typename Buffer::const_reference;