summaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-03-23 17:31:14 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-03-24 10:54:32 -0700
commit169755e89a72b103fab100ccd101013e8eef1481 (patch)
tree5716e13519fe2b7f5c91cccbdbf14635a1ef117d /test/src
parent7ff074889e826f766028ba582beb677b39d16bec (diff)
downloadqtlocation-mapboxgl-169755e89a72b103fab100ccd101013e8eef1481.tar.gz
[core] Unify FileRequest and WorkRequest
Diffstat (limited to 'test/src')
-rw-r--r--test/src/stub_file_source.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/stub_file_source.cpp b/test/src/stub_file_source.cpp
index 5a062672bb..89ccb3b335 100644
--- a/test/src/stub_file_source.cpp
+++ b/test/src/stub_file_source.cpp
@@ -4,7 +4,7 @@ namespace mbgl {
using namespace std::chrono_literals;
-class StubFileRequest : public FileRequest {
+class StubFileRequest : public AsyncRequest {
public:
StubFileRequest(StubFileSource& fileSource_)
: fileSource(fileSource_) {
@@ -32,7 +32,7 @@ StubFileSource::StubFileSource() {
StubFileSource::~StubFileSource() = default;
-std::unique_ptr<FileRequest> StubFileSource::request(const Resource& resource, Callback callback) {
+std::unique_ptr<AsyncRequest> StubFileSource::request(const Resource& resource, Callback callback) {
auto req = std::make_unique<StubFileRequest>(*this);
pending.emplace(req.get(), std::make_tuple(resource, response, callback));
return std::move(req);