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:
@@ -33,7 +33,7 @@
|
||||
using namespace std;
|
||||
using namespace fastdelegate;
|
||||
|
||||
DirDialog::DirDialog(GMenu2X *gmenu2x, string text, string dir) {
|
||||
DirDialog::DirDialog(GMenu2X *gmenu2x, const string &text, const string &dir) {
|
||||
this->gmenu2x = gmenu2x;
|
||||
this->text = text;
|
||||
selRow = 0;
|
||||
|
||||
Reference in New Issue
Block a user