Codechange: use std::source_location over __FILE__ and __LINE__ for WindowDesc
This commit is contained in:
@@ -726,7 +726,7 @@ struct FramerateWindow : Window {
|
||||
}
|
||||
};
|
||||
|
||||
static WindowDesc _framerate_display_desc(__FILE__, __LINE__,
|
||||
static WindowDesc _framerate_display_desc(
|
||||
WDP_AUTO, "framerate_display", 0, 0,
|
||||
WC_FRAMERATE_DISPLAY, WC_NONE,
|
||||
0,
|
||||
@@ -1017,7 +1017,7 @@ struct FrametimeGraphWindow : Window {
|
||||
}
|
||||
};
|
||||
|
||||
static WindowDesc _frametime_graph_window_desc(__FILE__, __LINE__,
|
||||
static WindowDesc _frametime_graph_window_desc(
|
||||
WDP_AUTO, "frametime_graph", 140, 90,
|
||||
WC_FRAMETIME_GRAPH, WC_NONE,
|
||||
0,
|
||||
|
Reference in New Issue
Block a user