summaryrefslogtreecommitdiff
path: root/src/nodedumper.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-30 23:36:30 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-30 23:36:30 (GMT)
commit84e98b178ad60b22ae6a3b60ea3f6296b1f71989 (patch)
tree6fba1e961976c3e8fc16e5b6c44afd64d4b2ae14 /src/nodedumper.cc
parent0c2053caf9c7e521c31bbf603e8a1980d2eee3b2 (diff)
Cleaned up some unnecessary includes
Diffstat (limited to 'src/nodedumper.cc')
-rw-r--r--src/nodedumper.cc9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/nodedumper.cc b/src/nodedumper.cc
index d75c703..4523bac 100644
--- a/src/nodedumper.cc
+++ b/src/nodedumper.cc
@@ -1,13 +1,8 @@
#include "nodedumper.h"
-#include <string>
-#include <map>
-#include <list>
-#include "visitor.h"
#include "state.h"
-#include "nodecache.h"
+#include <string>
#include <sstream>
-#include <iostream>
#include <assert.h>
/*!
@@ -42,7 +37,7 @@ void NodeDumper::handleIndent(const State &state)
including braces and indentation.
All children are assumed to be cached already.
*/
-string NodeDumper::dumpChildren(const AbstractNode &node)
+std::string NodeDumper::dumpChildren(const AbstractNode &node)
{
std::stringstream dump;
if (!this->visitedchildren[node.index()].empty()) {
contact: Jan Huwald // Impressum