1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 00:51:47 +02:00
This commit is contained in:
Eelco Dolstra 2018-01-31 15:12:27 +01:00
parent 6270b2e50f
commit 30370f168f
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
2 changed files with 6 additions and 5 deletions

View file

@ -21,8 +21,8 @@ struct DownloadRequest
std::shared_ptr<std::string> data;
std::string mimeType;
DownloadRequest(const std::string & uri, std::shared_ptr<std::string> data = nullptr, std::string mimeType = "")
: uri(uri), parentAct(curActivity), data(std::move(data)), mimeType(std::move(mimeType)) { }
DownloadRequest(const std::string & uri)
: uri(uri), parentAct(curActivity) { }
};
struct DownloadResult