1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Make EntityList const correct

This commit is contained in:
ζeh Matt
2021-10-14 16:31:37 +03:00
parent f2bfec977f
commit f701d2ceb5

View File

@@ -165,11 +165,11 @@ public:
{
}
EntityListIterator_t begin()
EntityListIterator_t begin() const
{
return EntityListIterator_t(std::cbegin(vec), std::cend(vec));
}
EntityListIterator_t end()
EntityListIterator_t end() const
{
return EntityListIterator_t(std::cend(vec), std::cend(vec));
}