1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Pass in params by const ref

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2014-02-10 06:49:37 -05:00
parent 78d979567f
commit 1614603165
2 changed files with 2 additions and 2 deletions

View file

@ -215,7 +215,7 @@ string Settings::pack()
}
void Settings::unpack(string pack) {
void Settings::unpack(const string &pack) {
Strings lines = tokenizeString<Strings>(pack, "\n");
foreach (Strings::iterator, i, lines) {
string::size_type eq = i->find('=');