From e3708770899f08bc1e2beed4e7b804e03a2d0c20 Mon Sep 17 00:00:00 2001 From: Bruno Lalande Date: Thu, 15 May 2014 17:56:03 +0100 Subject: [PATCH] Use the appropriate type to get the area type --- test/algorithms/test_union.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/algorithms/test_union.hpp b/test/algorithms/test_union.hpp index 70dd3783e..1f878ed02 100644 --- a/test/algorithms/test_union.hpp +++ b/test/algorithms/test_union.hpp @@ -50,7 +50,7 @@ void test_union(std::string const& caseid, G1 const& g1, G2 const& g2, bg::union_(g1, g2, clip); - typename bg::default_area_result::type area = 0; + typename bg::default_area_result::type area = 0; std::size_t n = 0; std::size_t holes = 0; for (typename std::vector::iterator it = clip.begin(); @@ -69,7 +69,7 @@ void test_union(std::string const& caseid, G1 const& g1, G2 const& g2, array_with_one_empty_geometry.push_back(OutputType()); boost::copy(array_with_one_empty_geometry, bg::detail::union_::union_insert(g1, g2, std::back_inserter(inserted))); - typename bg::default_area_result::type area_inserted = 0; + typename bg::default_area_result::type area_inserted = 0; int index = 0; for (typename std::vector::iterator it = inserted.begin(); it != inserted.end();