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 @@ double UI_dial::max() const
|
||||
return m_max;
|
||||
}
|
||||
|
||||
std::string UI_dial::unit() const
|
||||
std::string UI_dial::unit() const &
|
||||
{
|
||||
return m_unit;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user