diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-26 01:17:53 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2018-07-26 01:17:53 -0400 |
commit | 94f7d887981f0626f166f5645fa98115d4f9a478 (patch) | |
tree | b5653f58f288a9619dc82d3ac5867dfd5c89ad45 /lib/graph.cpp | |
parent | d3b3e39a525d0c3aa9663f824ba96e0c429a8313 (diff) | |
download | c++-94f7d887981f0626f166f5645fa98115d4f9a478.tar.gz c++-94f7d887981f0626f166f5645fa98115d4f9a478.tar.bz2 c++-94f7d887981f0626f166f5645fa98115d4f9a478.zip |
everything compiles now, and fixed a major bug in the graph code
Diffstat (limited to 'lib/graph.cpp')
-rw-r--r-- | lib/graph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/graph.cpp b/lib/graph.cpp index 021873d..8c97274 100644 --- a/lib/graph.cpp +++ b/lib/graph.cpp @@ -20,7 +20,7 @@ graph_t::graph_t(D_t D, L_t L) { } void graph_t::add_ext() { - for (std::vector<v_t> v_adj_i : v_adj) { + for (std::vector<v_t>& v_adj_i : v_adj) { v_adj_i.push_back(nv); } |