mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-27 08:45:00 +01:00
Enforce not breaking before assignments and function names
Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
This commit is contained in:
committed by
Hielke Morsink
parent
9bfa8bdbe8
commit
95ce592579
@@ -40,10 +40,10 @@ static std::list<ImageList> _allocatedLists;
|
||||
|
||||
[[maybe_unused]] static bool AllocatedListContains(uint32_t baseImageId, uint32_t count)
|
||||
{
|
||||
bool contains
|
||||
= std::any_of(_allocatedLists.begin(), _allocatedLists.end(), [baseImageId, count](const ImageList& imageList) -> bool {
|
||||
return imageList.BaseId == baseImageId && imageList.Count == count;
|
||||
});
|
||||
bool contains = std::any_of(
|
||||
_allocatedLists.begin(), _allocatedLists.end(), [baseImageId, count](const ImageList& imageList) -> bool {
|
||||
return imageList.BaseId == baseImageId && imageList.Count == count;
|
||||
});
|
||||
return contains;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user