From 97f78059a2d04050ca9b1411815c2c5a243f2e58 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 23 May 2022 22:15:18 +0200 Subject: [PATCH] util/AllocatedArray: add missing type alias "value_type" --- src/util/AllocatedArray.hxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/AllocatedArray.hxx b/src/util/AllocatedArray.hxx index 0a2240d1b..572c7dadb 100644 --- a/src/util/AllocatedArray.hxx +++ b/src/util/AllocatedArray.hxx @@ -42,6 +42,7 @@ class AllocatedArray { using Buffer = std::span; public: + using value_type = T; using size_type = typename Buffer::size_type; using reference = typename Buffer::reference; using const_reference = typename Buffer::const_reference;