aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-01-31 15:12:27 +0100
committerEelco Dolstra <edolstra@gmail.com>2018-01-31 15:14:03 +0100
commit30370f168fef6fd1dd2e888a680e3cabbb7215c1 (patch)
treedbf42ee1de3663272265388690f2d9b579610cde /src/libstore/download.hh
parent6270b2e50f94e6686581f041d7824c9fb34da3d8 (diff)
Cleanup
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r--src/libstore/download.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index 0a278a05e..d9d525d4e 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