diff options
author | Ali Mohammad Pur <ali.mpfard@gmail.com> | 2021-06-11 01:32:48 +0430 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-11 00:30:09 +0200 |
commit | 7b2c8381623c63c3f5684feff81bbde72ac9457a (patch) | |
tree | eae87ecc864feb36c3dbe205c567e814113ba4b2 /AK/NonnullRefPtrVector.h | |
parent | 8527f00065eac52673048d4958c4463d0c3a6e97 (diff) | |
download | serenity-7b2c8381623c63c3f5684feff81bbde72ac9457a.zip |
AK: Make NonnullRefPtrVector constructible from Vector<NonnullRefPtr>
Diffstat (limited to 'AK/NonnullRefPtrVector.h')
-rw-r--r-- | AK/NonnullRefPtrVector.h | 1 |
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; }; } |