about summary refs log tree commit diff
path: root/src/nix-store/dotgraph.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-04T14·10+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-02-04T14·10+0100
commitc780c1124ec6711f09b9855c3b574b6655af6625 (patch)
treef4a4fe77166920e49f4d5ea7e9f0ce812afd3e93 /src/nix-store/dotgraph.cc
parentfa7cd5369b7d9f947b0b26ca681e94b81068a3ef (diff)
More of the same
Diffstat (limited to 'src/nix-store/dotgraph.cc')
-rw-r--r--src/nix-store/dotgraph.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-store/dotgraph.cc b/src/nix-store/dotgraph.cc
index 83472b0a3bc3..8735cf9b667b 100644
--- a/src/nix-store/dotgraph.cc
+++ b/src/nix-store/dotgraph.cc
@@ -94,7 +94,7 @@ void printClosure(const Path & nePath, const StoreExpr & fs)
 #endif
 
 
-void printDotGraph(Store & store, const PathSet & roots)
+void printDotGraph(ref<Store> store, const PathSet & roots)
 {
     PathSet workList(roots);
     PathSet doneSet;
@@ -111,7 +111,7 @@ void printDotGraph(Store & store, const PathSet & roots)
         cout << makeNode(path, symbolicName(path), "#ff0000");
 
         PathSet references;
-        store.queryReferences(path, references);
+        store->queryReferences(path, references);
 
         for (PathSet::iterator i = references.begin();
              i != references.end(); ++i)