From 1a9cab927209421884364a24601b4437380b45da Mon Sep 17 00:00:00 2001 From: Yuriy Chernyshov Date: Sun, 22 Dec 2024 02:06:36 +0300 Subject: [PATCH] Fix compilation --- include/boost/graph/hawick_circuits.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/graph/hawick_circuits.hpp b/include/boost/graph/hawick_circuits.hpp index 2203b2267..585c8a366 100644 --- a/include/boost/graph/hawick_circuits.hpp +++ b/include/boost/graph/hawick_circuits.hpp @@ -133,8 +133,8 @@ namespace hawick_circuits_detail // documented above. bool blocked_map_starts_all_unblocked() const { - for (Vertex v: vertices(graph_)) - if (is_blocked(v)) + for (auto it = vertices(graph_).first; it != vertices(graph_).second; ++it) + if (is_blocked(*it)) return false; return true; }