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:
@@ -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;
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace OpenRCT2::TrackMetaData
|
||||
}
|
||||
};
|
||||
|
||||
using TrackComputeFunction = int32_t (*)(const int16_t);
|
||||
using TrackComputeFunction = int32_t (*)(int16_t);
|
||||
struct TrackElementDescriptor
|
||||
{
|
||||
StringId description;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user