Cleanup: pass string by const reference

This commit is contained in:
Campbell Barton
2024-09-15 23:14:08 +10:00
parent 9be29e1bbc
commit 1104e4233d

View File

@@ -223,7 +223,7 @@ void ED_screen_draw_edges(wmWindow *win)
}
}
static void screen_draw_area_drag_tip(int x, int y, ScrArea *source, std::string hint)
static void screen_draw_area_drag_tip(int x, int y, ScrArea *source, const std::string &hint)
{
if (!U.experimental.use_docking) {
return;