1
0
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:
Lars-Peter Clausen
2010-05-02 14:29:09 +02:00
parent a794a1c01a
commit 40a26e1a9c
68 changed files with 279 additions and 267 deletions

View File

@@ -25,7 +25,7 @@
using namespace std;
SettingsDialog::SettingsDialog(GMenu2X *gmenu2x, string text, string icon) {
SettingsDialog::SettingsDialog(GMenu2X *gmenu2x, const string &text, const string &icon) {
this->gmenu2x = gmenu2x;
this->text = text;