summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleValue_Private.h
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2016-10-14 12:35:47 -0400
committerMinh Nguyễn <mxn@1ec5.org>2016-10-17 11:47:22 -0700
commita1d803f5188c5f440da6019d2917ad4ea6a141b9 (patch)
tree02e05ecbdde605a9da26012808ea60104a6f379c /platform/darwin/src/MGLStyleValue_Private.h
parent4ff1a736d485fcdb823dad7686973e6b031f079f (diff)
downloadqtlocation-mapboxgl-a1d803f5188c5f440da6019d2917ad4ea6a141b9.tar.gz
[ios, macos] Change runtime styling category method prefix to mgl_
This makes runtime styling category method naming consistent with the rest of the SDK.
Diffstat (limited to 'platform/darwin/src/MGLStyleValue_Private.h')
-rw-r--r--platform/darwin/src/MGLStyleValue_Private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLStyleValue_Private.h b/platform/darwin/src/MGLStyleValue_Private.h
index cc3fecec7e..fdad07aafa 100644
--- a/platform/darwin/src/MGLStyleValue_Private.h
+++ b/platform/darwin/src/MGLStyleValue_Private.h
@@ -100,7 +100,7 @@ private:
}
MGLColor *toMGLRawStyleValue(const mbgl::Color mbglStopValue) {
- return [MGLColor mbgl_colorWithColor:mbglStopValue];
+ return [MGLColor mgl_colorWithColor:mbglStopValue];
}
ObjCType toMGLRawStyleValue(const std::vector<MBGLElement> &mbglStopValue) {
@@ -142,7 +142,7 @@ private:
}
void getMBGLValue(MGLColor *rawValue, mbgl::Color &mbglValue) {
- mbglValue = rawValue.mbgl_color;
+ mbglValue = rawValue.mgl_color;
}
void getMBGLValue(ObjCType rawValue, std::vector<MBGLElement> &mbglValue) {