summaryrefslogtreecommitdiff
path: root/AK/NonnullRefPtrVector.h
diff options
context:
space:
mode:
authorAli Mohammad Pur <ali.mpfard@gmail.com>2021-06-11 01:32:48 +0430
committerAndreas Kling <kling@serenityos.org>2021-06-11 00:30:09 +0200
commit7b2c8381623c63c3f5684feff81bbde72ac9457a (patch)
treeeae87ecc864feb36c3dbe205c567e814113ba4b2 /AK/NonnullRefPtrVector.h
parent8527f00065eac52673048d4958c4463d0c3a6e97 (diff)
downloadserenity-7b2c8381623c63c3f5684feff81bbde72ac9457a.zip
AK: Make NonnullRefPtrVector constructible from Vector<NonnullRefPtr>
Diffstat (limited to 'AK/NonnullRefPtrVector.h')
-rw-r--r--AK/NonnullRefPtrVector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/AK/NonnullRefPtrVector.h b/AK/NonnullRefPtrVector.h
index 70679de03d..0927d7d87a 100644
--- a/AK/NonnullRefPtrVector.h
+++ b/AK/NonnullRefPtrVector.h
@@ -13,6 +13,7 @@ namespace AK {
template<typename T, size_t inline_capacity>
class NonnullRefPtrVector : public NonnullPtrVector<NonnullRefPtr<T>, inline_capacity> {
+ using NonnullPtrVector<NonnullRefPtr<T>, inline_capacity>::NonnullPtrVector;
};
}