mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-23 04:04:09 +01:00
Codechange: use std::move when appropriate
This commit is contained in:
@@ -1712,7 +1712,7 @@ DEF_CONSOLE_CMD(ConScreenShot)
|
||||
return false;
|
||||
}
|
||||
|
||||
MakeScreenshot(type, name, width, height);
|
||||
MakeScreenshot(type, std::move(name), width, height);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user