Codechange: Replace SmallVector::Length() with std::vector::size()

This commit is contained in:
Henry Wilson
2018-09-23 12:23:54 +01:00
committed by PeterN
parent 56ae855dc2
commit a690936ed7
71 changed files with 287 additions and 297 deletions

View File

@@ -49,14 +49,14 @@ void InitializeSoundPool()
SoundEntry *GetSound(SoundID index)
{
if (index >= _sounds.Length()) return NULL;
if (index >= _sounds.size()) return NULL;
return &_sounds[index];
}
uint GetNumSounds()
{
return _sounds.Length();
return _sounds.size();
}