Codechange: use std::source_location over __FILE__ and __LINE__ for WindowDesc
This commit is contained in:
@@ -1173,7 +1173,7 @@ static constexpr NWidgetPart _nested_game_options_widgets[] = {
|
||||
EndContainer(),
|
||||
};
|
||||
|
||||
static WindowDesc _game_options_desc(__FILE__, __LINE__,
|
||||
static WindowDesc _game_options_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_GAME_OPTIONS, WC_NONE,
|
||||
0,
|
||||
@@ -2883,7 +2883,7 @@ static constexpr NWidgetPart _nested_settings_selection_widgets[] = {
|
||||
EndContainer(),
|
||||
};
|
||||
|
||||
static WindowDesc _settings_selection_desc(__FILE__, __LINE__,
|
||||
static WindowDesc _settings_selection_desc(
|
||||
WDP_CENTER, "settings", 510, 450,
|
||||
WC_GAME_OPTIONS, WC_NONE,
|
||||
0,
|
||||
@@ -3191,7 +3191,7 @@ static constexpr NWidgetPart _nested_cust_currency_widgets[] = {
|
||||
EndContainer(),
|
||||
};
|
||||
|
||||
static WindowDesc _cust_currency_desc(__FILE__, __LINE__,
|
||||
static WindowDesc _cust_currency_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_CUSTOM_CURRENCY, WC_NONE,
|
||||
0,
|
||||
|
Reference in New Issue
Block a user