From 9ab371826609bf2284c752c00a158e5481415082 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 27 Jun 2019 13:23:10 +0200 Subject: [PATCH] AK: Allow constructing an empty NonnullRefPtrVector. --- AK/NonnullRefPtrVector.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AK/NonnullRefPtrVector.h b/AK/NonnullRefPtrVector.h index b296391015..7293476efc 100644 --- a/AK/NonnullRefPtrVector.h +++ b/AK/NonnullRefPtrVector.h @@ -10,6 +10,10 @@ class NonnullRefPtrVector : public Vector, inline_capacity> { typedef Vector> Base; public: + NonnullRefPtrVector() + { + } + NonnullRefPtrVector(Vector>&& other) : Base(static_cast(other)) {