diff options
Diffstat (limited to 'test/gl/context.test.cpp')
-rw-r--r-- | test/gl/context.test.cpp | 4 |
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. |