summaryrefslogtreecommitdiff
path: root/test/style/source.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/style/source.test.cpp
parentdbe0f706c34852cd18637ba28167731e72712de6 (diff)
downloadqtlocation-mapboxgl-1a71d0ca03f6bd6c7e3fa14fd9fedc037c0585a4.tar.gz
test
Diffstat (limited to 'test/style/source.test.cpp')
-rw-r--r--test/style/source.test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/style/source.test.cpp b/test/style/source.test.cpp
index ca0e79f46a..0e7b3c4356 100644
--- a/test/style/source.test.cpp
+++ b/test/style/source.test.cpp
@@ -26,7 +26,7 @@
#include <mbgl/util/run_loop.hpp>
#include <mbgl/util/string.hpp>
-#include <mbgl/util/io.hpp>
+#include <mapbox/io.hpp>
#include <mbgl/util/premultiply.hpp>
#include <mbgl/util/image.hpp>
@@ -729,7 +729,7 @@ TEST(Source, ImageSourceImageUpdate) {
test.fileSource->response = [&] (const Resource& resource) {
EXPECT_EQ("http://url", resource.url);
Response response;
- response.data = std::make_unique<std::string>(util::read_file("test/fixtures/image/no_profile.png"));
+ response.data = std::make_unique<std::string>(*mapbox::base::io::readFile("test/fixtures/image/no_profile.png"));
return response;
};
test.styleObserver.sourceChanged = [&] (Source&) {