about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/download.hh
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-05-19T00·02+0100
committerVincent Ambo <tazjin@google.com>2020-05-19T00·04+0100
commit505b6b044b132b28e1501491bcfe6bd68ca1989e (patch)
tree1c1ed8a195f5c94050754316c842a3f8623c6cbe /third_party/nix/src/libstore/download.hh
parentce99ba42df493bb521f47789fb8902d7693c5b9c (diff)
refactor(3p/nix/libstore): Replace logging.h with glog r/756
Diffstat (limited to 'third_party/nix/src/libstore/download.hh')
-rw-r--r--third_party/nix/src/libstore/download.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/nix/src/libstore/download.hh b/third_party/nix/src/libstore/download.hh
index 8e07403bcccd..8859b093e4f3 100644
--- a/third_party/nix/src/libstore/download.hh
+++ b/third_party/nix/src/libstore/download.hh
@@ -46,14 +46,12 @@ struct DownloadRequest {
   bool head = false;
   size_t tries = downloadSettings.tries;
   unsigned int baseRetryTimeMs = 250;
-  ActivityId parentAct;
   bool decompress = true;
   std::shared_ptr<std::string> data;
   std::string mimeType;
   std::function<void(char*, size_t)> dataCallback;
 
-  DownloadRequest(const std::string& uri)
-      : uri(uri), parentAct(getCurActivity()) {}
+  DownloadRequest(const std::string& uri) : uri(uri) {}
 
   std::string verb() { return data ? "upload" : "download"; }
 };