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 @@ double UI_dial::max() const
return m_max;
}
std::string UI_dial::unit() const
std::string UI_dial::unit() const &
{
return m_unit;
}