mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
AK: Make Nonnull*PtrVector use size_t for indexes
This was weird. It turns out these class were using int indexes and sizes despite being derived from Vector which uses size_t. Make the universe right again by using size_t here as well.
This commit is contained in:
parent
46efd2f741
commit
81c6d8e98e
Notes:
sideshowbarker
2024-07-18 22:05:34 +09:00
Author: https://github.com/awesomekling
Commit: 81c6d8e98e
4 changed files with 13 additions and 13 deletions
|
@ -31,7 +31,7 @@
|
|||
|
||||
namespace AK {
|
||||
|
||||
template<typename T, int inline_capacity>
|
||||
template<typename T, size_t inline_capacity>
|
||||
class NonnullRefPtrVector : public NonnullPtrVector<NonnullRefPtr<T>, inline_capacity> {
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue