[client,sdl] use bounds checking vector accessors

This commit is contained in:
Armin Novak
2026-02-10 18:51:04 +01:00
parent f805a57b9d
commit fd9d199fd5
12 changed files with 59 additions and 59 deletions

View File

@@ -1359,7 +1359,7 @@ int64_t SdlContext::monitorId(uint32_t index) const
{
return -1;
}
return _monitorIds[index];
return _monitorIds.at(index);
}
void SdlContext::push(std::vector<SDL_Rect>&& rects)