about summary refs log tree commit diff
path: root/third_party/nix/src/nix-store/graphml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-store/graphml.cc')
-rw-r--r--third_party/nix/src/nix-store/graphml.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-store/graphml.cc b/third_party/nix/src/nix-store/graphml.cc
index 6510b328810d..a1a16cc8f28a 100644
--- a/third_party/nix/src/nix-store/graphml.cc
+++ b/third_party/nix/src/nix-store/graphml.cc
@@ -37,7 +37,7 @@ static string makeNode(const ValidPathInfo& info) {
       (isDerivation(info.path) ? "derivation" : "output-path"));
 }
 
-void printGraphML(ref<Store> store, const PathSet& roots) {
+void printGraphML(const ref<Store>& store, const PathSet& roots) {
   PathSet workList(roots);
   PathSet doneSet;
   std::pair<PathSet::iterator, bool> ret;