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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user