Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62956 - in trunk/boost/polygon: . detail
From: lucanus.j.simonson_at_[hidden]
Date: 2010-06-14 18:47:24


Author: ljsimons
Date: 2010-06-14 18:47:23 EDT (Mon, 14 Jun 2010)
New Revision: 62956
URL: http://svn.boost.org/trac/boost/changeset/62956

Log:
fix for compilation errors in gcc 4.5.0 thanks to Thomas Klimpel's patch
Text files modified:
   trunk/boost/polygon/detail/polygon_45_set_view.hpp | 4 ++--
   trunk/boost/polygon/detail/polygon_90_set_view.hpp | 4 ++--
   trunk/boost/polygon/detail/polygon_set_view.hpp | 4 ++--
   trunk/boost/polygon/polygon_set_data.hpp | 2 +-
   4 files changed, 7 insertions(+), 7 deletions(-)

Modified: trunk/boost/polygon/detail/polygon_45_set_view.hpp
==============================================================================
--- trunk/boost/polygon/detail/polygon_45_set_view.hpp (original)
+++ trunk/boost/polygon/detail/polygon_45_set_view.hpp 2010-06-14 18:47:23 EDT (Mon, 14 Jun 2010)
@@ -124,13 +124,13 @@
   };
 
   template <typename ltype, typename rtype, int op_type>
- typename polygon_45_set_view<ltype, rtype, op_type>::iterator_type
+ typename polygon_45_set_traits<polygon_45_set_view<ltype, rtype, op_type> >::iterator_type
   polygon_45_set_traits<polygon_45_set_view<ltype, rtype, op_type> >::
   begin(const polygon_45_set_view<ltype, rtype, op_type>& polygon_45_set) {
     return polygon_45_set.begin();
   }
   template <typename ltype, typename rtype, int op_type>
- typename polygon_45_set_view<ltype, rtype, op_type>::iterator_type
+ typename polygon_45_set_traits<polygon_45_set_view<ltype, rtype, op_type> >::iterator_type
   polygon_45_set_traits<polygon_45_set_view<ltype, rtype, op_type> >::
   end(const polygon_45_set_view<ltype, rtype, op_type>& polygon_45_set) {
     return polygon_45_set.end();

Modified: trunk/boost/polygon/detail/polygon_90_set_view.hpp
==============================================================================
--- trunk/boost/polygon/detail/polygon_90_set_view.hpp (original)
+++ trunk/boost/polygon/detail/polygon_90_set_view.hpp 2010-06-14 18:47:23 EDT (Mon, 14 Jun 2010)
@@ -140,13 +140,13 @@
   };
 
   template <typename ltype, typename rtype, typename op_type>
- typename polygon_90_set_view<ltype, rtype, op_type>::iterator_type
+ typename polygon_90_set_traits<polygon_90_set_view<ltype, rtype, op_type> >::iterator_type
   polygon_90_set_traits<polygon_90_set_view<ltype, rtype, op_type> >::
   begin(const polygon_90_set_view<ltype, rtype, op_type>& polygon_set) {
     return polygon_set.begin();
   }
   template <typename ltype, typename rtype, typename op_type>
- typename polygon_90_set_view<ltype, rtype, op_type>::iterator_type
+ typename polygon_90_set_traits<polygon_90_set_view<ltype, rtype, op_type> >::iterator_type
   polygon_90_set_traits<polygon_90_set_view<ltype, rtype, op_type> >::
   end(const polygon_90_set_view<ltype, rtype, op_type>& polygon_set) {
     return polygon_set.end();

Modified: trunk/boost/polygon/detail/polygon_set_view.hpp
==============================================================================
--- trunk/boost/polygon/detail/polygon_set_view.hpp (original)
+++ trunk/boost/polygon/detail/polygon_set_view.hpp 2010-06-14 18:47:23 EDT (Mon, 14 Jun 2010)
@@ -153,13 +153,13 @@
   };
 
   template <typename ltype, typename rtype, int op_type>
- typename polygon_set_view<ltype, rtype, op_type>::iterator_type
+ typename polygon_set_traits<polygon_set_view<ltype, rtype, op_type> >::iterator_type
   polygon_set_traits<polygon_set_view<ltype, rtype, op_type> >::
   begin(const polygon_set_view<ltype, rtype, op_type>& polygon_set) {
     return polygon_set.begin();
   }
   template <typename ltype, typename rtype, int op_type>
- typename polygon_set_view<ltype, rtype, op_type>::iterator_type
+ typename polygon_set_traits<polygon_set_view<ltype, rtype, op_type> >::iterator_type
   polygon_set_traits<polygon_set_view<ltype, rtype, op_type> >::
   end(const polygon_set_view<ltype, rtype, op_type>& polygon_set) {
     return polygon_set.end();

Modified: trunk/boost/polygon/polygon_set_data.hpp
==============================================================================
--- trunk/boost/polygon/polygon_set_data.hpp (original)
+++ trunk/boost/polygon/polygon_set_data.hpp 2010-06-14 18:47:23 EDT (Mon, 14 Jun 2010)
@@ -894,7 +894,7 @@
          ps += 2.0 * our_pi;
       if (pe <= 0.0)
          pe += 2.0 * our_pi;
- if (ps >= 2.0 * M_PI)
+ if (ps >= 2.0 * our_pi)
          ps -= 2.0 * our_pi;
       while (pe <= ps)
          pe += 2.0 * our_pi;


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