diff options
Diffstat (limited to 'boost/polygon/polygon_90_with_holes_data.hpp')
-rw-r--r-- | boost/polygon/polygon_90_with_holes_data.hpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/boost/polygon/polygon_90_with_holes_data.hpp b/boost/polygon/polygon_90_with_holes_data.hpp index 2fb6cdb9f2..be43b6582e 100644 --- a/boost/polygon/polygon_90_with_holes_data.hpp +++ b/boost/polygon/polygon_90_with_holes_data.hpp @@ -1,6 +1,6 @@ /* Copyright 2008 Intel Corporation - + Use, modification and distribution are subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). @@ -19,7 +19,7 @@ public: typedef typename polygon_90_data<T>::iterator_type iterator_type; typedef typename polygon_90_data<T>::compact_iterator_type compact_iterator_type; typedef typename std::list<polygon_90_data<coordinate_type> >::const_iterator iterator_holes_type; - typedef polygon_90_data<coordinate_type> hole_type; + typedef polygon_90_data<coordinate_type> hole_type; typedef typename coordinate_traits<T>::area_type area_type; typedef point_data<T> point_type; @@ -55,9 +55,9 @@ public: } // copy constructor (since we have dynamic memory) - inline polygon_90_with_holes_data(const polygon_90_with_holes_data& that) : self_(that.self_), + inline polygon_90_with_holes_data(const polygon_90_with_holes_data& that) : self_(that.self_), holes_(that.holes_) {} - + // assignment operator (since we have dynamic memory do a deep copy) inline polygon_90_with_holes_data& operator=(const polygon_90_with_holes_data& that) { self_ = that.self_; @@ -90,7 +90,7 @@ public: inline std::size_t size() const { return self_.size(); - } + } // get begin iterator, returns a pointer to a const polygon inline const iterator_holes_type begin_holes() const { @@ -108,9 +108,8 @@ public: private: polygon_90_data<coordinate_type> self_; - std::list<hole_type> holes_; + std::list<hole_type> holes_; }; } } #endif - |