Skip to content

Commit

Permalink
util/AllocatedArray: add missing type alias "value_type"
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed May 23, 2022
1 parent fd47edb commit 97f7805
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/AllocatedArray.hxx
Expand Up @@ -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;
Expand Down

0 comments on commit 97f7805

Please sign in to comment.