optimize by passing by reference
optimize by using std::move
This commit is contained in:
2026-02-14 14:32:47 +01:00
parent 14a4e15962
commit 8b1db7af11
14 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class UI_status_bar : public UI_item
*
* @return std::string The current message
*/
std::string message() const;
std::string message() const &;
/**
* @brief Get the timeout for the current message
*