about summary refs log tree commit diff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-02-10T11·49-0500
committerShea Levy <shea@shealevy.com>2014-02-10T11·49-0500
commit16146031659eae475cd5933b8553b13d725ca436 (patch)
tree26635d109f1bf459129cde2773a8aca974759332 /src/libstore/globals.hh
parent78d979567fa304fa4445fe7403932d9d97183ebd (diff)
Pass in params by const ref
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index 5e7cfda9a124..13772c65cbac 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -25,7 +25,7 @@ struct Settings {
 
     string pack();
 
-    void unpack(string pack);
+    void unpack(const string &pack);
 
     SettingsMap getOverrides();