From 227776dee04d440c0b6082def2bf5e40da65ecbc Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Sun, 30 Aug 2015 18:45:24 +0300 Subject: [PATCH] Style no longer requires mainloop access --- src/mbgl/map/map_context.cpp | 4 ++-- src/mbgl/style/style.cpp | 3 +-- src/mbgl/style/style.hpp | 4 +--- test/style/resource_loading.cpp | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/mbgl/map/map_context.cpp b/src/mbgl/map/map_context.cpp index 17d3a87cc..c36b4fc9d 100644 --- a/src/mbgl/map/map_context.cpp +++ b/src/mbgl/map/map_context.cpp @@ -104,7 +104,7 @@ void MapContext::setStyleURL(const std::string& url) { styleURL = url; styleJSON.clear(); - style = std::make_unique