Codechange: use std::move over copying where applicable

This commit is contained in:
Rubidium
2025-03-16 16:32:05 +01:00
committed by rubidium42
parent f214c81e97
commit 5ea5855677
7 changed files with 16 additions and 16 deletions

View File

@@ -723,7 +723,7 @@ CommandCost CmdDepotSellAllVehicles(DoCommandFlags flags, TileIndex tile, Vehicl
cost.AddCost(ret);
had_success = true;
} else {
last_error = ret;
last_error = std::move(ret);
}
}