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/util/memory.test.cpp | |
parent | dbe0f706c34852cd18637ba28167731e72712de6 (diff) | |
download | qtlocation-mapboxgl-1a71d0ca03f6bd6c7e3fa14fd9fedc037c0585a4.tar.gz |
test
Diffstat (limited to 'test/util/memory.test.cpp')
-rw-r--r-- | test/util/memory.test.cpp | 4 |
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; |