mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-16 00:42:45 +01:00
Codechange: use std::source_location over __FILE__ and __LINE__ for WindowDesc
This commit is contained in:
@@ -144,7 +144,7 @@ struct EnginePreviewWindow : Window {
|
||||
}
|
||||
};
|
||||
|
||||
static WindowDesc _engine_preview_desc(__FILE__, __LINE__,
|
||||
static WindowDesc _engine_preview_desc(
|
||||
WDP_CENTER, nullptr, 0, 0,
|
||||
WC_ENGINE_PREVIEW, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
|
||||
Reference in New Issue
Block a user