Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76772 - trunk/boost/geometry/extensions/algorithms/buffer
From: barend.gehrels_at_[hidden]
Date: 2012-01-29 06:02:14


Author: barendgehrels
Date: 2012-01-29 06:02:13 EST (Sun, 29 Jan 2012)
New Revision: 76772
URL: http://svn.boost.org/trac/boost/changeset/76772

Log:
Belongs to last commit, two tidy ups more
Text files modified:
   trunk/boost/geometry/extensions/algorithms/buffer/buffer_appender.hpp | 7 ++-----
   1 files changed, 2 insertions(+), 5 deletions(-)

Modified: trunk/boost/geometry/extensions/algorithms/buffer/buffer_appender.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/buffer/buffer_appender.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/buffer/buffer_appender.hpp 2012-01-29 06:02:13 EST (Sun, 29 Jan 2012)
@@ -56,10 +56,8 @@
 
     inline void append(point_type const& point)
     {
- if (! m_pieces.empty())
- {
- check(point);
- }
+ check(point);
+
         do_append(point);
     }
 
@@ -136,7 +134,6 @@
 
     inline int do_append(point_type const& point)
     {
- //check(point);
         int result = boost::size(m_range);
         m_range.push_back(point);
         m_previous_point = point;


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