projects
/
simple-launcher
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fixed the parameter type: must be const
[simple-launcher]
/
launcher-item.h
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;
}