summaryrefslogtreecommitdiff
path: root/src/mbgl/text/placement.hpp
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-08-01 16:36:14 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-08-13 15:20:46 +0300
commitead71325489b16b8b256d3e9c826394c5dbc9bbb (patch)
tree04716fadcf32647eef459af0db5f5ec6c0680c37 /src/mbgl/text/placement.hpp
parent0c0bee52cb418d7b94d387b7393e7ef8fd4939be (diff)
downloadqtlocation-mapboxgl-ead71325489b16b8b256d3e9c826394c5dbc9bbb.tar.gz
[core] Simplifications to variable text placement code path
Diffstat (limited to 'src/mbgl/text/placement.hpp')
-rw-r--r--src/mbgl/text/placement.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/text/placement.hpp b/src/mbgl/text/placement.hpp
index 33bfbd6527..722a4a0926 100644
--- a/src/mbgl/text/placement.hpp
+++ b/src/mbgl/text/placement.hpp
@@ -123,8 +123,8 @@ private:
// Returns `true` if bucket vertices were updated; returns `false` otherwise.
bool updateBucketDynamicVertices(SymbolBucket&, const TransformState&, const RenderTile& tile) const;
void updateBucketOpacities(SymbolBucket&, const TransformState&, std::set<uint32_t>&);
- void markUsedJustification(SymbolBucket&, style::TextVariableAnchorType, SymbolInstance&, style::TextWritingModeType orientation);
- void markUsedOrientation(SymbolBucket&, style::TextWritingModeType, SymbolInstance&);
+ void markUsedJustification(SymbolBucket&, style::TextVariableAnchorType, const SymbolInstance&, style::TextWritingModeType orientation);
+ void markUsedOrientation(SymbolBucket&, style::TextWritingModeType, const SymbolInstance&);
CollisionIndex collisionIndex;