diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-03-27 18:30:35 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2020-04-17 13:36:50 +0300 |
commit | 563d4b6cac0076e87bd57e5227e20689c05f44fa (patch) | |
tree | 10ec988f72a2fa6d5845493d9ff267f73d6acb32 /src/mbgl/text/glyph.hpp | |
parent | 09d58c0f866ac64edd1b9535e649608ee29ab8b1 (diff) | |
download | qtlocation-mapboxgl-563d4b6cac0076e87bd57e5227e20689c05f44fa.tar.gz |
[core] Fix performance-move-const-arg errors in header files
As reported by clang-tidy-8.
Diffstat (limited to 'src/mbgl/text/glyph.hpp')
-rw-r--r-- | src/mbgl/text/glyph.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/text/glyph.hpp b/src/mbgl/text/glyph.hpp index f3f28828ef..2d8853e92a 100644 --- a/src/mbgl/text/glyph.hpp +++ b/src/mbgl/text/glyph.hpp @@ -76,8 +76,8 @@ public: vertical(vertical_), font(font_), scale(scale_), - rect(std::move(rect_)), - metrics(std::move(metrics_)), + rect(rect_), + metrics(metrics_), imageID(std::move(imageID_)), sectionIndex(sectionIndex_) {} |