projects
/
simple-launcher
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0167448
)
fixed the parameter type: must be const
author
mishas
<mikhail.sobolev@gmail.com>
Wed, 14 Mar 2007 08:57:17 +0000
(08:57 +0000)
committer
mishas
<mikhail.sobolev@gmail.com>
Wed, 14 Mar 2007 08:57:17 +0000
(08:57 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@75
3ba93dab
-e023-0410-b42a-
de7732cf370a
launcher-item.h
patch
|
blob
|
history
diff --git
a/launcher-item.h
b/launcher-item.h
index
5a60611
..
bfa78bc
100644
(file)
--- 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;
}