From 609124849396a44ce9f468a14fcb112c001372ba Mon Sep 17 00:00:00 2001 From: Dennis Luxen Date: Tue, 15 Jul 2014 15:06:34 +0200 Subject: [PATCH] fix range initialization on Windows --- Contractor/Contractor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Contractor/Contractor.h b/Contractor/Contractor.h index a81d294b7..761330442 100644 --- a/Contractor/Contractor.h +++ b/Contractor/Contractor.h @@ -872,7 +872,7 @@ class Contractor std::sort(neighbours.begin(), neighbours.end()); neighbours.resize(std::unique(neighbours.begin(), neighbours.end()) - neighbours.begin()); - for (const auto i : boost::irange(0ul, neighbours.size())) + for (const auto i : boost::irange(0u, (unsigned)neighbours.size())) { contractor_graph->DeleteEdgesTo(neighbours[i], node); }