|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67196 - sandbox/geometry/boost/geometry/util
From: barend.gehrels_at_[hidden]
Date: 2010-12-12 17:35:25
Author: barendgehrels
Date: 2010-12-12 17:35:20 EST (Sun, 12 Dec 2010)
New Revision: 67196
URL: http://svn.boost.org/trac/boost/changeset/67196
Log:
(Re)added explicit to constructor
Text files modified:
sandbox/geometry/boost/geometry/util/closeable_view.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: sandbox/geometry/boost/geometry/util/closeable_view.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/util/closeable_view.hpp (original)
+++ sandbox/geometry/boost/geometry/util/closeable_view.hpp 2010-12-12 17:35:20 EST (Sun, 12 Dec 2010)
@@ -27,7 +27,8 @@
template <typename Range>
struct closing_view
{
- inline closing_view(Range& r)
+ // Keep this explicit, important for nested views/ranges
+ explicit inline closing_view(Range& r)
: m_range(r)
{}
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