From 4161d197fdb59587b3ef5deac321605fc911a2ab Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Sun, 12 Jun 2016 13:53:35 +0300 Subject: [tidy] Check modernize-pass-by-value Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html --- src/mbgl/style/paint_property.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mbgl/style/paint_property.hpp') diff --git a/src/mbgl/style/paint_property.hpp b/src/mbgl/style/paint_property.hpp index 62fd59684e..7cb75781a3 100644 --- a/src/mbgl/style/paint_property.hpp +++ b/src/mbgl/style/paint_property.hpp @@ -118,8 +118,8 @@ private: TimePoint end_, PropertyValue value_) : prior(std::move(prior_)), - begin(begin_), - end(end_), + begin(std::move(begin_)), + end(std::move(end_)), value(std::move(value_)) { } -- cgit v1.2.1