diff options
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 |