[core] const-correction

This commit is contained in:
John Firebaugh
2017-02-20 18:00:37 -08:00
parent a7b7f3d442
commit e1c85e8ec3
4 changed files with 4 additions and 4 deletions

View File

@@ -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) {

View File

@@ -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);

View File

@@ -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,

View File

@@ -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&,