From: mishas Date: Wed, 14 Mar 2007 08:57:17 +0000 (+0000) Subject: fixed the parameter type: must be const X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=ba5d4832d932430ee35bd308ac1a714c197d9c4c;hp=0167448ac2c8b2d008a2b379eab91dcd7760ddfa;p=simple-launcher fixed the parameter type: must be const git-svn-id: file:///svnroot/simple-launcher/trunk@75 3ba93dab-e023-0410-b42a-de7732cf370a --- diff --git a/launcher-item.h b/launcher-item.h index 5a60611..bfa78bc 100644 --- a/launcher-item.h +++ b/launcher-item.h @@ -78,7 +78,7 @@ typedef struct { return myNames[index]; } - void add(std::string& name, LauncherItem *item) { + void add(const std::string& name, LauncherItem *item) { myNames.push_back(name); myItems[name] = item; }