diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-09-11 14:16:53 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2019-09-11 14:56:29 +0300 |
commit | 1a71d0ca03f6bd6c7e3fa14fd9fedc037c0585a4 (patch) | |
tree | dc3a9cbc42de7f9f50b74a212646634161546af1 /test/style/style_layer.test.cpp | |
parent | dbe0f706c34852cd18637ba28167731e72712de6 (diff) | |
download | qtlocation-mapboxgl-1a71d0ca03f6bd6c7e3fa14fd9fedc037c0585a4.tar.gz |
test
Diffstat (limited to 'test/style/style_layer.test.cpp')
-rw-r--r-- | test/style/style_layer.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/style_layer.test.cpp b/test/style/style_layer.test.cpp index d6a926c631..2f41fdf9c4 100644 --- a/test/style/style_layer.test.cpp +++ b/test/style/style_layer.test.cpp @@ -21,7 +21,7 @@ #include <mbgl/test/stub_file_source.hpp> #include <mbgl/util/color.hpp> #include <mbgl/util/run_loop.hpp> -#include <mbgl/util/io.hpp> +#include <mapbox/io.hpp> #include <memory> @@ -284,7 +284,7 @@ TEST(Layer, DuplicateLayer) { // Setup style StubFileSource fileSource; Style::Impl style { fileSource, 1.0 }; - style.loadJSON(util::read_file("test/fixtures/resources/style-unused-sources.json")); + style.loadJSON(*mapbox::base::io::readFile("test/fixtures/resources/style-unused-sources.json")); // Add initial layer style.addLayer(std::make_unique<LineLayer>("line", "unusedsource")); |