summaryrefslogtreecommitdiff
path: root/src/nodedumper.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-10-04 19:06:40 (GMT)
committerMarius Kintel <marius@kintel.net>2011-10-04 19:06:40 (GMT)
commit799ca1d1b3f2e9142460ab3ce895a0641f54dfda (patch)
tree6c168de6d55cb92b94b0ddeb54c668bd4946c10d /src/nodedumper.cc
parent9259d57659f61e9e56942bb36125f605f8f3c338 (diff)
parentf5e0f3a531b0c8806e4ebc62cd91ca31275ae481 (diff)
Merge branch 'master' into visitortests
Conflicts: src/polyset.h
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