Use an int instead of a size_t

This commit is contained in:
smallmodel 2025-02-02 16:03:32 +01:00
parent ee970a3fce
commit e962e4e1f5
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -99,7 +99,7 @@ DelegateHandle MulticastDelegate<T>::Add(Delegate<T>&& function)
template<typename T>
void MulticastDelegate<T>::Remove(DelegateHandle handle)
{
size_t i;
int i;
for (i = delegates.NumObjects(); i > 0; i--) {
const DelegateMultiElement<T>& elem = delegates.ObjectAt(i);