Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86334 - trunk/boost/geometry/algorithms/detail/overlay
From: adam.wulkiewicz_at_[hidden]
Date: 2013-10-16 11:43:02


Author: awulkiew
Date: 2013-10-16 11:43:02 EDT (Wed, 16 Oct 2013)
New Revision: 86334
URL: http://svn.boost.org/trac/boost/changeset/86334

Log:
[geometry] replaced size() and removed clear() call in overlay/follow.hpp.

Text files modified:
   trunk/boost/geometry/algorithms/detail/overlay/follow.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/algorithms/detail/overlay/follow.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/overlay/follow.hpp Wed Oct 16 11:36:32 2013 (r86333)
+++ trunk/boost/geometry/algorithms/detail/overlay/follow.hpp 2013-10-16 11:43:02 EDT (Wed, 16 Oct 2013) (r86334)
@@ -186,7 +186,7 @@
         {
             *out++ = current_piece;
         }
- current_piece.clear();
+
         //traits::clear<LineStringOut>::apply(current_piece);
         geometry::clear(current_piece);
     }
@@ -398,7 +398,7 @@
         }
 
         // Output the last one, if applicable
- if (current_piece.size() > 1)
+ if (::boost::size(current_piece) > 1)
         {
             *out++ = current_piece;
         }


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