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