reindented
This commit is contained in:
parent
d1ccc8a5d0
commit
4ff730c5d3
4
dfs.cc
4
dfs.cc
@ -24,7 +24,7 @@
|
||||
#include <iostream>
|
||||
|
||||
class node {
|
||||
public:
|
||||
public:
|
||||
node(std::string const &name) : name_(name) {}
|
||||
void add_child(class node *n)
|
||||
{
|
||||
@ -34,7 +34,7 @@ public:
|
||||
void dfs(std::list<std::string> &res);
|
||||
bool visited;
|
||||
|
||||
private:
|
||||
private:
|
||||
std::string const name_;
|
||||
std::list<class node *> children_;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user