enable copy ctor (needed by json geometry grammar)

This commit is contained in:
artemp 2015-02-23 12:09:42 +01:00
parent 45a75fb876
commit 968ab32c02

View file

@ -88,7 +88,7 @@ struct line_string : std::vector<point>
line_string() = default;
line_string (line_string && other) = default ;
line_string& operator=(line_string &&) = default;
line_string (line_string const& ) = delete;
line_string (line_string const& ) = default;
line_string& operator=(line_string const&) = delete;
inline std::size_t num_points() const { return size(); }
inline void add_coord(double x, double y) { emplace_back(x,y);}