AK: Make NonnullRefPtrVector constructible from Vector<NonnullRefPtr>

This commit is contained in:
Ali Mohammad Pur 2021-06-11 01:32:48 +04:30 committed by Andreas Kling
parent 8527f00065
commit 7b2c838162

View file

@ -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;
};
}