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:
Andreas Kling 2021-02-20 17:39:58 +01:00
commit 81c6d8e98e
Notes: sideshowbarker 2024-07-18 22:05:34 +09:00
4 changed files with 13 additions and 13 deletions

View file

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