Add missing & to parameter
This commit is contained in:
parent
0fde1cf94c
commit
647b282b26
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class object_t {
|
||||||
return cache[name];
|
return cache[name];
|
||||||
}
|
}
|
||||||
|
|
||||||
bool has(const std::string name) const {
|
bool has(const std::string& name) const {
|
||||||
return methods.count(name) != 0;
|
return methods.count(name) != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue