1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:17:46 +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:
Andreas Kling 2021-02-20 17:39:58 +01:00
parent 46efd2f741
commit 81c6d8e98e
4 changed files with 13 additions and 13 deletions

View file

@ -108,10 +108,10 @@ class NonnullRefPtr;
template<typename T>
class NonnullOwnPtr;
template<typename T, int inline_capacity = 0>
template<typename T, size_t inline_capacity = 0>
class NonnullRefPtrVector;
template<typename T, int inline_capacity = 0>
template<typename T, size_t inline_capacity = 0>
class NonnullOwnPtrVector;
template<typename T>