summaryrefslogtreecommitdiff
path: root/test/util/memory.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/memory.test.cpp')
-rw-r--r--test/util/memory.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/memory.test.cpp b/test/util/memory.test.cpp
index bf14c70419..29330b2164 100644
--- a/test/util/memory.test.cpp
+++ b/test/util/memory.test.cpp
@@ -5,7 +5,7 @@
#include <mbgl/map/map_options.hpp>
#include <mbgl/gfx/headless_frontend.hpp>
-#include <mbgl/util/io.hpp>
+#include <mapbox/io.hpp>
#include <mbgl/util/run_loop.hpp>
#include <mbgl/style/style.hpp>
@@ -46,7 +46,7 @@ private:
result.data = it->second;
} else {
auto data = std::make_shared<std::string>(
- util::read_file("test/fixtures/resources/"s + path));
+ *mapbox::base::io::readFile("test/fixtures/resources/"s + path));
cache.insert(it, std::make_pair(path, data));
result.data = data;