diff --git a/include/boost/geometry/algorithms/comparable_distance.hpp b/include/boost/geometry/algorithms/comparable_distance.hpp index cc1ae9244..55b827bd3 100644 --- a/include/boost/geometry/algorithms/comparable_distance.hpp +++ b/include/boost/geometry/algorithms/comparable_distance.hpp @@ -19,6 +19,7 @@ #ifndef BOOST_GEOMETRY_ALGORITHMS_COMPARABLE_DISTANCE_HPP #define BOOST_GEOMETRY_ALGORITHMS_COMPARABLE_DISTANCE_HPP +#include #include #include @@ -72,7 +73,7 @@ comparable_distance(Geometry1 const& geometry1, Geometry2 const& geometry2, \qbk{[include reference/algorithms/comparable_distance.qbk]} */ template -inline typename default_distance_result::type +inline typename default_comparable_distance_result::type comparable_distance(Geometry1 const& geometry1, Geometry2 const& geometry2) { concept::check();