1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00

AK: NonnullRefPtrVector should use Vector<T, inline_capacity> as its base.

We were forgetting to plumb through the inline capacity in the Base typedef.
This commit is contained in:
Andreas Kling 2019-06-27 13:39:09 +02:00
parent 601b0a8c68
commit 3bd47a2e09

View file

@ -7,7 +7,7 @@ namespace AK {
template<typename T, int inline_capacity = 0> template<typename T, int inline_capacity = 0>
class NonnullRefPtrVector : public Vector<NonnullRefPtr<T>, inline_capacity> { class NonnullRefPtrVector : public Vector<NonnullRefPtr<T>, inline_capacity> {
typedef Vector<NonnullRefPtr<T>> Base; typedef Vector<NonnullRefPtr<T>, inline_capacity> Base;
public: public:
NonnullRefPtrVector() NonnullRefPtrVector()