|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71170 - trunk/boost/geometry/arithmetic
From: bruno.lalande_at_[hidden]
Date: 2011-04-10 16:44:26
Author: bruno.lalande
Date: 2011-04-10 16:44:26 EDT (Sun, 10 Apr 2011)
New Revision: 71170
URL: http://svn.boost.org/trac/boost/changeset/71170
Log:
Small fix - forgotten const
Text files modified:
trunk/boost/geometry/arithmetic/arithmetic.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/geometry/arithmetic/arithmetic.hpp
==============================================================================
--- trunk/boost/geometry/arithmetic/arithmetic.hpp (original)
+++ trunk/boost/geometry/arithmetic/arithmetic.hpp 2011-04-10 16:44:26 EDT (Sun, 10 Apr 2011)
@@ -266,7 +266,7 @@
\param p2 second point
*/
template <typename Point1, typename Point2>
-inline void assign_point(Point1& p1, Point2& p2)
+inline void assign_point(Point1& p1, const Point2& p2)
{
BOOST_CONCEPT_ASSERT( (concept::Point<Point2>) );
BOOST_CONCEPT_ASSERT( (concept::ConstPoint<Point2>) );
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk