mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
pass strings by reference where possible
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
using namespace std;
|
||||
using namespace fastdelegate;
|
||||
|
||||
MenuSettingRGBA::MenuSettingRGBA(GMenu2X *gmenu2x, string name, string description, RGBAColor *value)
|
||||
MenuSettingRGBA::MenuSettingRGBA(GMenu2X *gmenu2x, const string &name, const string &description, RGBAColor *value)
|
||||
: MenuSetting(gmenu2x,name,description) {
|
||||
selPart = 0;
|
||||
this->gmenu2x = gmenu2x;
|
||||
|
||||
Reference in New Issue
Block a user