Cleanup: Replace single-use Pair struct with std::pair.
This struct is defined in geometry_type but not used by any geometry-related code, only for subsidy code where both parameters are cast from int to NewsReferenceType.
This commit is contained in:
committed by
Michael Lutz
parent
bf4fe19a66
commit
5ff15443e9
@@ -14,8 +14,9 @@
|
||||
#include "station_type.h"
|
||||
#include "company_type.h"
|
||||
#include "cargo_type.h"
|
||||
#include "news_type.h"
|
||||
|
||||
Pair SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode);
|
||||
std::pair<NewsReferenceType, NewsReferenceType> SetupSubsidyDecodeParam(const struct Subsidy *s, bool mode);
|
||||
void DeleteSubsidyWith(SourceType type, SourceID index);
|
||||
bool CheckSubsidised(CargoID cargo_type, CompanyID company, SourceType src_type, SourceID src, const Station *st);
|
||||
void RebuildSubsidisedSourceAndDestinationCache();
|
||||
|
||||
Reference in New Issue
Block a user