|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71314 - trunk/libs/geometry/test/algorithms/detail
From: barend.gehrels_at_[hidden]
Date: 2011-04-16 08:09:35
Author: barendgehrels
Date: 2011-04-16 08:09:34 EDT (Sat, 16 Apr 2011)
New Revision: 71314
URL: http://svn.boost.org/trac/boost/changeset/71314
Log:
Fixed partition.cpp test for no-svg
Text files modified:
trunk/libs/geometry/test/algorithms/detail/partition.cpp | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
Modified: trunk/libs/geometry/test/algorithms/detail/partition.cpp
==============================================================================
--- trunk/libs/geometry/test/algorithms/detail/partition.cpp (original)
+++ trunk/libs/geometry/test/algorithms/detail/partition.cpp 2011-04-16 08:09:34 EDT (Sat, 16 Apr 2011)
@@ -326,8 +326,8 @@
typedef svg_visitor<bg::svg_mapper<point_item> > box_visitor_type;
box_visitor_type box_visitor(mapper);
#else
- typedef visit_no_policy box_visitor_type;
- visit_no_policy box_visitor;
+ typedef bg::visit_no_policy box_visitor_type;
+ box_visitor_type box_visitor;
#endif
point_visitor visitor;
@@ -432,10 +432,6 @@
typedef svg_visitor<bg::svg_mapper<point_item> > partition_visitor_type;
partition_visitor_type partition_visitor(mapper);
-#else
- typedef visit_no_policy box_visitor_type;
- visit_no_policy partition_visitor;
-#endif
box_visitor<box_type> visitor;
@@ -448,6 +444,7 @@
BOOST_CHECK_EQUAL(visitor.count, expected_count);
BOOST_CHECK_CLOSE(visitor.area, expected_area, 0.001);
+#endif
}
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