summaryrefslogtreecommitdiff
path: root/lib/graph.cpp
diff options
context:
space:
mode:
authorJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-26 01:17:53 -0400
committerJaron Kent-Dobias <jaron@kent-dobias.com>2018-07-26 01:17:53 -0400
commit94f7d887981f0626f166f5645fa98115d4f9a478 (patch)
treeb5653f58f288a9619dc82d3ac5867dfd5c89ad45 /lib/graph.cpp
parentd3b3e39a525d0c3aa9663f824ba96e0c429a8313 (diff)
downloadc++-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.cpp2
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);
}