mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 23:24:02 +00:00
[test][simplify] remove unused local typedef;
uncomment concept check for simplify strategy;
This commit is contained in:
parent
54c824a7dd
commit
43c253fd27
@ -168,13 +168,12 @@ void test_geometry(std::string const& wkt,
|
||||
DistanceMeasure const& distance,
|
||||
Strategy const& strategy)
|
||||
{
|
||||
//typedef typename bg::point_type<Geometry>::type point_type;
|
||||
|
||||
Geometry geometry;
|
||||
bg::read_wkt(wkt, geometry);
|
||||
boost::variant<Geometry> v(geometry);
|
||||
|
||||
//BOOST_CONCEPT_ASSERT( (bg::concept::SimplifyStrategy<Strategy, point_type>) );
|
||||
BOOST_CONCEPT_ASSERT( (bg::concept::SimplifyStrategy<Strategy,
|
||||
typename bg::point_type<Geometry>::type>) );
|
||||
|
||||
check_geometry(geometry, expected, distance, strategy);
|
||||
check_geometry(v, expected, distance, strategy);
|
||||
|
Loading…
x
Reference in New Issue
Block a user