summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleValue_Private.h
diff options
context:
space:
mode:
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) {