Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85383 - in trunk: boost/geometry/geometries libs/geometry/doc
From: barend.gehrels_at_[hidden]
Date: 2013-08-17 16:04:24


Author: barendgehrels
Date: 2013-08-17 16:04:23 EDT (Sat, 17 Aug 2013)
New Revision: 85383
URL: http://svn.boost.org/trac/boost/changeset/85383

Log:
[geometry] ticket #8969, fixed: constructor of model::point should be explicit

Text files modified:
   trunk/boost/geometry/geometries/point.hpp | 2 +-
   trunk/libs/geometry/doc/release_notes.qbk | 3 +++
   2 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/geometry/geometries/point.hpp
==============================================================================
--- trunk/boost/geometry/geometries/point.hpp Sat Aug 17 15:01:46 2013 (r85382)
+++ trunk/boost/geometry/geometries/point.hpp 2013-08-17 16:04:23 EDT (Sat, 17 Aug 2013) (r85383)
@@ -71,7 +71,7 @@
     {}
 
     /// @brief Constructor to set one, two or three values
- inline point(CoordinateType const& v0, CoordinateType const& v1 = 0, CoordinateType const& v2 = 0)
+ explicit inline point(CoordinateType const& v0, CoordinateType const& v1 = 0, CoordinateType const& v2 = 0)
     {
         if (DimensionCount >= 1) m_values[0] = v0;
         if (DimensionCount >= 2) m_values[1] = v1;

Modified: trunk/libs/geometry/doc/release_notes.qbk
==============================================================================
--- trunk/libs/geometry/doc/release_notes.qbk Sat Aug 17 15:01:46 2013 (r85382)
+++ trunk/libs/geometry/doc/release_notes.qbk 2013-08-17 16:04:23 EDT (Sat, 17 Aug 2013) (r85383)
@@ -27,10 +27,13 @@
 
 [*Solved tickets]
 
+* [@https://svn.boost.org/trac/boost/ticket/8969 8969] boost::geometry::model::point single argument constructor should be explicit
+
 [*Internal changes]
 
 * Distance-strategy TODO
 * Transform-strategy TODO
+* Cleanup, removed old MSVC2005 project files, let all tests pass green (also in extensions)
 
 
 [/=================]


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