mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 06:56:27 -05:00
pass const strings by reference. closes #33
This commit is contained in:
parent
19051925db
commit
6c3ff01a0a
38 changed files with 181 additions and 257 deletions
|
|
@ -55,7 +55,7 @@ namespace mergerfs
|
|||
const Policy &Policy::rand = Policy::policies[Policy::Enum::rand];
|
||||
|
||||
const Policy&
|
||||
Policy::find(const std::string str)
|
||||
Policy::find(const std::string &str)
|
||||
{
|
||||
for(int i = Enum::BEGIN; i != Enum::END; ++i)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue