diff options
-rw-r--r-- | include/mbgl/style/image.hpp | 2 | ||||
-rw-r--r-- | src/mbgl/text/glyph.hpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/mbgl/style/image.hpp b/include/mbgl/style/image.hpp index deb4b6f6c..d551651cd 100644 --- a/include/mbgl/style/image.hpp +++ b/include/mbgl/style/image.hpp @@ -47,7 +47,7 @@ public: false, std::move(stretchX), std::move(stretchY), - std::move(content)) {} + content) {} Image(const Image&); std::string getID() const; diff --git a/src/mbgl/text/glyph.hpp b/src/mbgl/text/glyph.hpp index f3f28828e..2d8853e92 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_) {} |