summaryrefslogtreecommitdiff
path: root/boost/geometry/geometries/concepts/multi_linestring_concept.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/geometries/concepts/multi_linestring_concept.hpp')
-rw-r--r--boost/geometry/geometries/concepts/multi_linestring_concept.hpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/boost/geometry/geometries/concepts/multi_linestring_concept.hpp b/boost/geometry/geometries/concepts/multi_linestring_concept.hpp
index 26b86eca76..837b905fd6 100644
--- a/boost/geometry/geometries/concepts/multi_linestring_concept.hpp
+++ b/boost/geometry/geometries/concepts/multi_linestring_concept.hpp
@@ -31,18 +31,6 @@
namespace boost { namespace geometry { namespace concepts
{
-
-/*!
-\brief multi-linestring concept
-\ingroup concepts
-\par Formal definition:
-The multi linestring concept is defined as following:
-- there must be a specialization of traits::tag defining multi_linestring_tag as
- type
-- it must behave like a Boost.Range
-- its range value must fulfil the Linestring concept
-
-*/
template <typename Geometry>
class MultiLinestring
{
@@ -61,7 +49,7 @@ public :
traits::clear<Geometry>::apply(*mls);
traits::resize<Geometry>::apply(*mls, 0);
linestring_type* ls = 0;
- traits::push_back<Geometry>::apply(*mls, *ls);
+ traits::push_back<Geometry>::apply(*mls, std::move(*ls));
}
#endif
};