mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
UI
optimize by passing by reference optimize by using std::move
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user