mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-27 14:14:27 +01:00
Codechange: use std::move when appropriate
This commit is contained in:
@@ -124,7 +124,7 @@ void SetFont(FontSize fontsize, const std::string &font, uint size)
|
||||
GetFontCacheSubSetting(fs)->font = fc->HasParent() ? fc->GetFontName() : "";
|
||||
}
|
||||
CheckForMissingGlyphs();
|
||||
_fcsettings = backup;
|
||||
_fcsettings = std::move(backup);
|
||||
} else {
|
||||
InitFontCache(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user