diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-06-27 13:39:09 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-06-27 13:39:09 +0200 |
commit | 3bd47a2e09e31ade766d0cf0b743763ff115d0e2 (patch) | |
tree | 63e3fddc8fd820c6549641ec3fad87da1342a14a | |
parent | 601b0a8c68ee377783670d3c4aa9ef4717f6302f (diff) | |
download | serenity-3bd47a2e09e31ade766d0cf0b743763ff115d0e2.zip |
AK: NonnullRefPtrVector should use Vector<T, inline_capacity> as its base.
We were forgetting to plumb through the inline capacity in the Base typedef.
-rw-r--r-- | AK/NonnullRefPtrVector.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/NonnullRefPtrVector.h b/AK/NonnullRefPtrVector.h index 7293476efc..151863fe83 100644 --- a/AK/NonnullRefPtrVector.h +++ b/AK/NonnullRefPtrVector.h @@ -7,7 +7,7 @@ namespace AK { template<typename T, int inline_capacity = 0> class NonnullRefPtrVector : public Vector<NonnullRefPtr<T>, inline_capacity> { - typedef Vector<NonnullRefPtr<T>> Base; + typedef Vector<NonnullRefPtr<T>, inline_capacity> Base; public: NonnullRefPtrVector() |