remove unnecessary ctors and use initializer list

This commit is contained in:
Jan Niklas Hasse 2012-08-27 19:24:14 +02:00
parent 856acda129
commit 58793eda10
1 changed files with 1 additions and 6 deletions

View File

@ -34,13 +34,8 @@
namespace p2t { namespace p2t {
SweepContext::SweepContext(std::vector<Point*> polyline) SweepContext::SweepContext(std::vector<Point*> polyline) : points_(polyline)
{ {
basin = Basin();
edge_event = EdgeEvent();
points_ = polyline;
InitEdges(points_); InitEdges(points_);
} }