diff options
author | Mike Morris <michael.patrick.morris@gmail.com> | 2014-05-30 14:19:22 -0400 |
---|---|---|
committer | Mike Morris <michael.patrick.morris@gmail.com> | 2014-05-30 14:19:22 -0400 |
commit | 59774f7e93e207c49364c8cb0908038606f5dd8c (patch) | |
tree | 4ba8e36b53ef46fa774a04bce77b7f0a35b78ca8 /include | |
parent | de1fa07bc6fc94f9ca9448b04d74f8b449961830 (diff) | |
download | qtlocation-mapboxgl-59774f7e93e207c49364c8cb0908038606f5dd8c.tar.gz |
shaped to shaping, pass by reference instead of returning a copy
Diffstat (limited to 'include')
-rw-r--r-- | include/llmr/text/glyph_store.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llmr/text/glyph_store.hpp b/include/llmr/text/glyph_store.hpp index 49427a276c..56aa63f2e6 100644 --- a/include/llmr/text/glyph_store.hpp +++ b/include/llmr/text/glyph_store.hpp @@ -36,7 +36,7 @@ public: const float &alignment, const float &verticalAlignment, const float &letterSpacing) const; - Shaping lineWrap(Shaping shaped, + Shaping lineWrap(Shaping &shaping, const float &lineHeight, const float &maxWidth, const float &alignment, |