1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 03:35:09 +01:00

Remove redundant const qualifiers

This commit is contained in:
matheusvb3
2026-01-16 18:41:04 -03:00
parent f75c5035d5
commit 06d7ed1d4e
3 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ struct GameStateSnapshot_t
}
// Must pass a function that can access the sprite.
void SerialiseSprites(std::function<EntitySnapshot*(const EntityId)> getEntity, const size_t numSprites, bool saving)
void SerialiseSprites(std::function<EntitySnapshot*(EntityId)> getEntity, const size_t numSprites, bool saving)
{
const bool loading = !saving;

View File

@@ -113,7 +113,7 @@ namespace OpenRCT2::TrackMetaData
}
};
using TrackComputeFunction = int32_t (*)(const int16_t);
using TrackComputeFunction = int32_t (*)(int16_t);
struct TrackElementDescriptor
{
StringId description;

View File

@@ -23,7 +23,7 @@ namespace OpenRCT2::World::MapGenerator
SLOPE_E_THRESHOLD_FLAGS = (1 << 3)
};
using SmoothFunction = std::function<int32_t(const TileCoordsXY)>;
using SmoothFunction = std::function<int32_t(TileCoordsXY)>;
int32_t smoothTileStrong(TileCoordsXY tileCoord);
int32_t smoothTileWeak(TileCoordsXY tileCoord);