summaryrefslogtreecommitdiff
path: root/test/gl/context.test.cpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-09-11 14:16:53 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-09-11 14:56:29 +0300
commit1a71d0ca03f6bd6c7e3fa14fd9fedc037c0585a4 (patch)
treedc3a9cbc42de7f9f50b74a212646634161546af1 /test/gl/context.test.cpp
parentdbe0f706c34852cd18637ba28167731e72712de6 (diff)
downloadqtlocation-mapboxgl-1a71d0ca03f6bd6c7e3fa14fd9fedc037c0585a4.tar.gz
test
Diffstat (limited to 'test/gl/context.test.cpp')
-rw-r--r--test/gl/context.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/gl/context.test.cpp b/test/gl/context.test.cpp
index 770434c5be..3d6fb68ae0 100644
--- a/test/gl/context.test.cpp
+++ b/test/gl/context.test.cpp
@@ -13,7 +13,7 @@
#include <mbgl/style/layers/custom_layer.hpp>
#include <mbgl/style/layers/fill_layer.hpp>
#include <mbgl/style/layers/background_layer.hpp>
-#include <mbgl/util/io.hpp>
+#include <mapbox/io.hpp>
#include <mbgl/util/mat4.hpp>
#include <mbgl/util/run_loop.hpp>
@@ -96,7 +96,7 @@ TEST(GLContextMode, Shared) {
Map map(frontend, MapObserver::nullObserver(),
MapOptions().withMapMode(MapMode::Static).withSize(frontend.getSize()),
ResourceOptions().withCachePath(":memory:").withAssetPath("test/fixtures/api/assets"));
- map.getStyle().loadJSON(util::read_file("test/fixtures/api/water.json"));
+ map.getStyle().loadJSON(*mapbox::base::io::readFile("test/fixtures/api/water.json"));
map.jumpTo(CameraOptions().withCenter(LatLng { 37.8, -122.5 }).withZoom(10.0));
// Set transparent background layer.