diff --git a/lemon/kruskal.h b/lemon/kruskal.h --- a/lemon/kruskal.h +++ b/lemon/kruskal.h @@ -212,6 +212,16 @@ } }; + template + struct RemoveConst { + typedef T type; + }; + + template + struct RemoveConst { + typedef T type; + }; + template struct KruskalOutputSelector, void>::type > @@ -219,7 +229,7 @@ typedef typename In::value_type::second_type Value; static Value kruskal(const Graph& graph, const In& in, Out& out) { - typedef StoreBoolMap Map; + typedef StoreBoolMap::type> Map; Map map(out); return _kruskal_bits::kruskal(graph, in, map); }