diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-01-31T14·12+0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2018-01-31T14·14+0100 |
commit | 30370f168fef6fd1dd2e888a680e3cabbb7215c1 (patch) | |
tree | dbf42ee1de3663272265388690f2d9b579610cde /src/libstore/download.hh | |
parent | 6270b2e50f94e6686581f041d7824c9fb34da3d8 (diff) |
Cleanup
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r-- | src/libstore/download.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh index 0a278a05e0e1..d9d525d4e65f 100644 --- a/src/libstore/download.hh +++ b/src/libstore/download.hh @@ -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 |