From 870067360f8195cadf2e1953ac20a56a44377f9f Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Tue, 9 May 2017 10:50:04 +0300 Subject: [tidy] modernize-pass-by-value --- test/util/merge_lines.test.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'test/util/merge_lines.test.cpp') diff --git a/test/util/merge_lines.test.cpp b/test/util/merge_lines.test.cpp index 8a3a400887..6c8387c451 100644 --- a/test/util/merge_lines.test.cpp +++ b/test/util/merge_lines.test.cpp @@ -2,6 +2,7 @@ #include #include +#include const std::u16string aaa = u"a"; const std::u16string bbb = u"b"; @@ -12,10 +13,10 @@ class GeometryTileFeatureStub : public GeometryTileFeature { public: GeometryTileFeatureStub(optional id_, FeatureType type_, GeometryCollection geometry_, std::unordered_map properties_) : - id(id_), + id(std::move(id_)), type(type_), - geometry(geometry_), - properties(properties_) + geometry(std::move(geometry_)), + properties(std::move(properties_)) {} FeatureType getType() const override { return type; } -- cgit v1.2.1