Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85398 - trunk/boost/geometry/extensions/algorithms
From: barend.gehrels_at_[hidden]
Date: 2013-08-19 15:55:19


Author: barendgehrels
Date: 2013-08-19 15:55:19 EDT (Mon, 19 Aug 2013)
New Revision: 85398
URL: http://svn.boost.org/trac/boost/changeset/85398

Log:
[geometry][extension] fixed clang compilation problem, qualifying baseclass

Text files modified:
   trunk/boost/geometry/extensions/algorithms/offset.hpp | 9 +++++++--
   1 files changed, 7 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/extensions/algorithms/offset.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/offset.hpp Mon Aug 19 13:52:56 2013 (r85397)
+++ trunk/boost/geometry/extensions/algorithms/offset.hpp 2013-08-19 15:55:19 EDT (Mon, 19 Aug 2013) (r85398)
@@ -44,6 +44,11 @@
             linestring_tag
>
 {
+ typedef geometry::detail::buffer::buffer_range
+ <
+ RangeOut,
+ linestring_tag
+ > super;
     template
     <
         typename Collection,
@@ -60,13 +65,13 @@
         collection.start_new_ring();
         if (reverse)
         {
- iterate(collection, boost::rbegin(range), boost::rend(range),
+ super::iterate(collection, boost::rbegin(range), boost::rend(range),
                 buffer_side_left,
                 distance_strategy, join_strategy, end_strategy);
         }
         else
         {
- iterate(collection, boost::begin(range), boost::end(range),
+ super::iterate(collection, boost::begin(range), boost::end(range),
                 buffer_side_left,
                 distance_strategy, join_strategy, end_strategy);
         }


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