diff options
Diffstat (limited to 'src/mbgl/map/map.cpp')
-rw-r--r-- | src/mbgl/map/map.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp index bba6d50a98..52ac323df4 100644 --- a/src/mbgl/map/map.cpp +++ b/src/mbgl/map/map.cpp @@ -967,7 +967,7 @@ void Map::setLight(std::unique_ptr<style::Light> light) { return; } - impl->style->light = std::move(light); + impl->style->setLight(std::move(light)); } style::Light* Map::getLight() { @@ -975,7 +975,7 @@ style::Light* Map::getLight() { return nullptr; } - return impl->style->light.get(); + return impl->style->getLight(); } #pragma mark - Defaults |