polygon - add move ctor

This commit is contained in:
artemp 2016-07-07 12:29:19 +01:00
parent d810ce46f2
commit f0a37c761b

View file

@ -88,6 +88,10 @@ struct polygon : mapbox::geometry::polygon<T>
//this->resize(1); // explicit exterior ring ?
}
polygon(polygon && other)
: base_type(std::move(other)),
interior_(*this) {}
polygon(polygon const& other)
: base_type(other),
interior_(*this) {}