diff --git a/include/boost/geometry/arithmetic/arithmetic.hpp b/include/boost/geometry/arithmetic/arithmetic.hpp index a18e3f9ff..395a603b2 100644 --- a/include/boost/geometry/arithmetic/arithmetic.hpp +++ b/include/boost/geometry/arithmetic/arithmetic.hpp @@ -266,7 +266,7 @@ inline void assign_value(Point& p, typename detail::param::type value) \param p2 second point */ template -inline void assign_point(Point1& p1, Point2& p2) +inline void assign_point(Point1& p1, const Point2& p2) { BOOST_CONCEPT_ASSERT( (concept::Point) ); BOOST_CONCEPT_ASSERT( (concept::ConstPoint) );