about summary refs log tree commit diff
path: root/src/libstore/globals.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/globals.cc')
-rw-r--r--src/libstore/globals.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.cc b/src/libstore/globals.cc
index c1ffc26fa30a..1d4bcd94f7b8 100644
--- a/src/libstore/globals.cc
+++ b/src/libstore/globals.cc
@@ -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('=');