[core] const-correction
This commit is contained in:
@@ -14,7 +14,7 @@ struct Corner {
|
||||
};
|
||||
|
||||
bool checkMaxAngle(const GeometryCoordinates& line,
|
||||
Anchor& anchor,
|
||||
const Anchor& anchor,
|
||||
const float labelLength,
|
||||
const float windowSize,
|
||||
const float maxAngle) {
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace mbgl {
|
||||
class Anchor;
|
||||
|
||||
bool checkMaxAngle(const GeometryCoordinates& line,
|
||||
Anchor& anchor,
|
||||
const Anchor& anchor,
|
||||
const float labelLength,
|
||||
const float windowSize,
|
||||
const float maxAngle);
|
||||
|
||||
@@ -14,7 +14,7 @@ using namespace style;
|
||||
|
||||
const float globalMinScale = 0.5f; // underscale by 1 zoom level
|
||||
|
||||
SymbolQuad getIconQuad(Anchor& anchor,
|
||||
SymbolQuad getIconQuad(const Anchor& anchor,
|
||||
const PositionedIcon& shapedIcon,
|
||||
const GeometryCoordinates& line,
|
||||
const SymbolLayoutProperties::Evaluated& layout,
|
||||
|
||||
@@ -51,7 +51,7 @@ public:
|
||||
|
||||
typedef std::vector<SymbolQuad> SymbolQuads;
|
||||
|
||||
SymbolQuad getIconQuad(Anchor& anchor,
|
||||
SymbolQuad getIconQuad(const Anchor& anchor,
|
||||
const PositionedIcon& shapedIcon,
|
||||
const GeometryCoordinates& line,
|
||||
const style::SymbolLayoutProperties::Evaluated&,
|
||||
|
||||
Reference in New Issue
Block a user