diff --git a/include/boost/geometry/algorithms/detail/equals/collect_vectors.hpp b/include/boost/geometry/algorithms/detail/equals/collect_vectors.hpp index c81a8e13d..807848fa0 100644 --- a/include/boost/geometry/algorithms/detail/equals/collect_vectors.hpp +++ b/include/boost/geometry/algorithms/detail/equals/collect_vectors.hpp @@ -112,7 +112,7 @@ struct range_collect_vectors return; } - typedef boost::range_size::type collection_size_t; + typedef typename boost::range_size::type collection_size_t; collection_size_t c_old_size = boost::size(collection); typedef typename boost::range_iterator::type iterator;