[test][simplify] remove unused local typedef;

uncomment concept check for simplify strategy;
This commit is contained in:
Menelaos Karavelas 2014-07-27 13:51:41 +03:00
parent 54c824a7dd
commit 43c253fd27

View File

@ -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);