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
@@ -46,7 +46,7 @@ class UI_textbox : public UI_item
*
* @return std::string The hint text
*/
std::string hint() const;
std::string hint() const &;
/**
* @brief Deserialize the textbox from JSON