summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2015-08-30 18:45:24 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2015-09-02 23:18:29 +0300
commit227776dee04d440c0b6082def2bf5e40da65ecbc (patch)
tree2e42afae188af801c2df92ebfc052a700b35e2d7 /test
parent322e1aa2c3c2570554a2fe2bbfa733ab7bbd4e81 (diff)
downloadqtlocation-mapboxgl-227776dee04d440c0b6082def2bf5e40da65ecbc.tar.gz
Style no longer requires mainloop access
Diffstat (limited to 'test')
-rw-r--r--test/style/resource_loading.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/style/resource_loading.cpp b/test/style/resource_loading.cpp
index b4fdbc7c5a..0562434586 100644
--- a/test/style/resource_loading.cpp
+++ b/test/style/resource_loading.cpp
@@ -32,7 +32,7 @@ public:
transform_.setLatLngZoom({0, 0}, 16);
const std::string style = util::read_file("test/fixtures/resources/style.json");
- style_ = std::make_unique<Style>(data_, util::RunLoop::getLoop());
+ style_ = std::make_unique<Style>(data_);
style_->setJSON(style, "");
style_->setObserver(this);
}