diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-01-06 16:55:23 -0500 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2017-01-06 16:55:23 -0500 |
commit | df2c6a608a5b238e7b2e5265e05e48535e036263 (patch) | |
tree | 738e18a6a63389d3e67cdc04655ed93a0e0704cf /src/graph.h | |
parent | ed0ac6791435c36e8374b218454ebfa7485f0845 (diff) |
Refactor
- Remove unnecessary include
- Improve whitespace
- Remove unnecessary variable declaration
- Move function call to more logical place
Diffstat (limited to 'src/graph.h')
-rw-r--r-- | src/graph.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graph.h b/src/graph.h index 85c66e7..7978c95 100644 --- a/src/graph.h +++ b/src/graph.h @@ -14,6 +14,7 @@ public: if (vertices_.find(vertex) == vertices_.end()) { vertices_.insert(vertex); orderable_vertices_.push_back(vertex); + graph_.push_back(std::vector<int>()); has_out_edges_.push_back(false); number_vertices_++; |