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
@@ -52,7 +52,7 @@ class UI_combobox : public UI_item
*
* @return std::string The text of the selected option
*/
std::string selected_text() const;
std::string selected_text() const &;
/**
* @brief Deserialize the combobox from JSON