reindented

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

4
dfs.cc
View File

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