From 4b4d9578023791520deaceeac2db1913253b68eb Mon Sep 17 00:00:00 2001 From: Bruno Lalande Date: Sun, 10 Apr 2011 20:44:26 +0000 Subject: [PATCH] Small fix - forgotten const [SVN r71170] --- include/boost/geometry/arithmetic/arithmetic.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) );