From 4ff730c5d3df5c73d9283e16e5d1ed4aa0408bb3 Mon Sep 17 00:00:00 2001 From: ensc Date: Sat, 20 Feb 2010 10:46:26 +0000 Subject: [PATCH] reindented --- dfs.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dfs.cc b/dfs.cc index 4919fb8..c7d9535 100644 --- a/dfs.cc +++ b/dfs.cc @@ -24,17 +24,17 @@ #include 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 &res); bool visited; -private: + private: std::string const name_; std::list children_; };