aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-28 16:03:32 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-01-28 16:03:32 +0100
commit4fa08f3edb413e65816441acfb6c3befee730a06 (patch)
treed0a5f63a4a489a99dd2803a34d2845fa2c1281d1 /src
parent26566cd28ece16e58401de4e3bc2b7912ea3de83 (diff)
Untabify
Diffstat (limited to 'src')
-rw-r--r--src/nix-store/xmlgraph.cc32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/nix-store/xmlgraph.cc b/src/nix-store/xmlgraph.cc
index 1b3ad3d28..98ab9e626 100644
--- a/src/nix-store/xmlgraph.cc
+++ b/src/nix-store/xmlgraph.cc
@@ -39,28 +39,28 @@ void printXmlGraph(const PathSet & roots)
PathSet doneSet;
cout << "<?xml version='1.0' encoding='utf-8'?>\n"
- << "<nix>\n";
+ << "<nix>\n";
while (!workList.empty()) {
- Path path = *(workList.begin());
- workList.erase(path);
+ Path path = *(workList.begin());
+ workList.erase(path);
- if (doneSet.find(path) != doneSet.end()) continue;
- doneSet.insert(path);
+ if (doneSet.find(path) != doneSet.end()) continue;
+ doneSet.insert(path);
- cout << makeNode(path);
+ cout << makeNode(path);
- PathSet references;
- store->queryReferences(path, references);
+ PathSet references;
+ store->queryReferences(path, references);
- for (PathSet::iterator i = references.begin();
- i != references.end(); ++i)
- {
- if (*i != path) {
- workList.insert(*i);
- cout << makeEdge(*i, path);
- }
- }
+ for (PathSet::iterator i = references.begin();
+ i != references.end(); ++i)
+ {
+ if (*i != path) {
+ workList.insert(*i);
+ cout << makeEdge(*i, path);
+ }
+ }
}