1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-17 03:29:09 +00:00

Codechange: use std::move when appropriate

This commit is contained in:
Rubidium
2025-03-08 20:33:08 +01:00
committed by rubidium42
parent 05ce0828c0
commit 754311a779
37 changed files with 83 additions and 83 deletions

View File

@@ -337,7 +337,7 @@ void ShowErrorMessage(EncodedString &&summary_msg, EncodedString &&detailed_msg,
if (wl == WL_CRITICAL) {
/* Push another critical error in the queue of errors,
* but do not put other errors in the queue. */
_error_list.push_back(data);
_error_list.push_back(std::move(data));
}
return;
}