changeset 1184 | 3c00344f49c9 |
parent 877 | 141f9c0db4a3 |
child 1157 | 0898f3371d1d |
1.1 --- a/lemon/static_graph.h Mon Jul 16 16:21:40 2018 +0200 1.2 +++ b/lemon/static_graph.h Wed Oct 17 19:14:07 2018 +0200 1.3 @@ -203,7 +203,7 @@ 1.4 built = true; 1.5 1.6 node_num = n; 1.7 - arc_num = std::distance(first, last); 1.8 + arc_num = static_cast<int>(std::distance(first, last)); 1.9 1.10 node_first_out = new int[node_num + 1]; 1.11 node_first_in = new int[node_num];