Codechange: Ensure function opening { is on new line.

This commit is contained in:
Peter Nelson
2023-11-09 19:20:41 +00:00
committed by Peter Nelson
parent 1de1af08b9
commit d4008850e3
22 changed files with 64 additions and 32 deletions

View File

@@ -413,7 +413,8 @@ void Station::AddIndustryToDeliver(Industry *ind, TileIndex tile)
* Remove nearby industry from station's industries_near list.
* @param ind Industry
*/
void Station::RemoveIndustryToDeliver(Industry *ind) {
void Station::RemoveIndustryToDeliver(Industry *ind)
{
auto pos = std::find_if(this->industries_near.begin(), this->industries_near.end(), [&](const IndustryListEntry &e) { return e.industry->index == ind->index; });
if (pos != this->industries_near.end()) {
this->industries_near.erase(pos);