reindented

This commit is contained in:
ensc 2010-02-20 10:46:26 +00:00
parent d1ccc8a5d0
commit 4ff730c5d3

10
dfs.cc
View File

@ -24,17 +24,17 @@
#include <iostream>
class node {
public:
public:
node(std::string const &name) : name_(name) {}
void add_child(class node *n)
{
children_.push_back(n);
}
{
children_.push_back(n);
}
void dfs(std::list<std::string> &res);
bool visited;
private:
private:
std::string const name_;
std::list<class node *> children_;
};