summaryrefslogtreecommitdiff
path: root/src/geometry/glyph_atlas.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-22 18:06:11 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-10-22 18:19:01 +0200
commit214f99673f6f7480f9cc3bf9d6fa32ef8dd2ede5 (patch)
treef06145cf70bf7860abd2c6edf88e2294d4ecb830 /src/geometry/glyph_atlas.cpp
parent74387c54e35e0f8f6bf1dcc7b7b171a3ec6db212 (diff)
downloadqtlocation-mapboxgl-214f99673f6f7480f9cc3bf9d6fa32ef8dd2ede5.tar.gz
fix variable shadowing
Diffstat (limited to 'src/geometry/glyph_atlas.cpp')
-rw-r--r--src/geometry/glyph_atlas.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/geometry/glyph_atlas.cpp b/src/geometry/glyph_atlas.cpp
index 76df941d90..6bee475da3 100644
--- a/src/geometry/glyph_atlas.cpp
+++ b/src/geometry/glyph_atlas.cpp
@@ -9,11 +9,11 @@
using namespace mbgl;
-GlyphAtlas::GlyphAtlas(uint16_t width, uint16_t height)
- : width(width),
- height(height),
- bin(width, height),
- data(new char[width *height]),
+GlyphAtlas::GlyphAtlas(uint16_t width_, uint16_t height_)
+ : width(width_),
+ height(height_),
+ bin(width_, height_),
+ data(new char[width_ *height_]),
dirty(true) {
}