summaryrefslogtreecommitdiff
path: root/test/storage/database_file_source.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/storage/database_file_source.test.cpp')
-rw-r--r--test/storage/database_file_source.test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/storage/database_file_source.test.cpp b/test/storage/database_file_source.test.cpp
index 579e9a8c57..62e5954605 100644
--- a/test/storage/database_file_source.test.cpp
+++ b/test/storage/database_file_source.test.cpp
@@ -12,7 +12,8 @@ using namespace mbgl;
TEST(DatabaseFileSource, PauseResume) {
util::RunLoop loop;
- auto dbfs = FileSourceManager::get()->getFileSource(FileSourceType::Database, ResourceOptions{});
+ std::shared_ptr<FileSource> dbfs =
+ FileSourceManager::get()->getFileSource(FileSourceType::Database, ResourceOptions{});
dbfs->pause();
const Resource res{Resource::Unknown, "http://127.0.0.1:3000/test", {}, Resource::LoadingMethod::CacheOnly};