diff options
author | Alexander Tkachev | 2016-06-21 17:07:23 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | f3a392359be2f6d05bac107a5f7bd168c178e428 (patch) | |
tree | eab864e98d1b75414f55053375fab076e1b23ecc /backends/cloud/googledrive/googledrivelistdirectorybyidrequest.cpp | |
parent | fa3ea83165d6c378348f61f8daec85f805626dbe (diff) | |
download | scummvm-rg350-f3a392359be2f6d05bac107a5f7bd168c178e428.tar.gz scummvm-rg350-f3a392359be2f6d05bac107a5f7bd168c178e428.tar.bz2 scummvm-rg350-f3a392359be2f6d05bac107a5f7bd168c178e428.zip |
CLOUD: Fix finishSuccess() warning
Diffstat (limited to 'backends/cloud/googledrive/googledrivelistdirectorybyidrequest.cpp')
-rw-r--r-- | backends/cloud/googledrive/googledrivelistdirectorybyidrequest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/cloud/googledrive/googledrivelistdirectorybyidrequest.cpp b/backends/cloud/googledrive/googledrivelistdirectorybyidrequest.cpp index 2530bab557..582f67c2cf 100644 --- a/backends/cloud/googledrive/googledrivelistdirectorybyidrequest.cpp +++ b/backends/cloud/googledrive/googledrivelistdirectorybyidrequest.cpp @@ -118,7 +118,7 @@ void GoogleDriveListDirectoryByIdRequest::responseCallback(Networking::JsonRespo Common::String token = responseObject.getVal("nextPageToken")->asString(); makeRequest(token); } else { - finishSuccess(_files); + finishListing(_files); } } else { warning("null, not json"); @@ -142,7 +142,7 @@ void GoogleDriveListDirectoryByIdRequest::restart() { start(); } Common::String GoogleDriveListDirectoryByIdRequest::date() const { return _date; } -void GoogleDriveListDirectoryByIdRequest::finishSuccess(Common::Array<StorageFile> &files) { +void GoogleDriveListDirectoryByIdRequest::finishListing(Common::Array<StorageFile> &files) { Request::finishSuccess(); if (_listDirectoryCallback) (*_listDirectoryCallback)(Storage::ListDirectoryResponse(this, files)); } |