1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 01:51:47 +02:00

More of the same

This commit is contained in:
Eelco Dolstra 2016-02-04 15:10:47 +01:00
parent fa7cd5369b
commit c780c1124e
5 changed files with 13 additions and 13 deletions

View file

@ -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)