mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +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:
parent
601b0a8c68
commit
3bd47a2e09
Notes:
sideshowbarker
2024-07-19 13:28:25 +09:00
Author: https://github.com/awesomekling
Commit: 3bd47a2e09
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue