about summary refs log tree commit diff
path: root/third_party/nix/src/nix-store/dotgraph.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-store/dotgraph.cc')
-rw-r--r--third_party/nix/src/nix-store/dotgraph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-store/dotgraph.cc b/third_party/nix/src/nix-store/dotgraph.cc
index 259ecbd74a..0186a7b22e 100644
--- a/third_party/nix/src/nix-store/dotgraph.cc
+++ b/third_party/nix/src/nix-store/dotgraph.cc
@@ -79,7 +79,7 @@ void printClosure(const Path & nePath, const StoreExpr & fs)
 }
 #endif
 
-void printDotGraph(ref<Store> store, const PathSet& roots) {
+void printDotGraph(const ref<Store>& store, const PathSet& roots) {
   PathSet workList(roots);
   PathSet doneSet;