From 505b6b044b132b28e1501491bcfe6bd68ca1989e Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 19 May 2020 01:02:44 +0100 Subject: refactor(3p/nix/libstore): Replace logging.h with glog --- third_party/nix/src/libstore/download.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'third_party/nix/src/libstore/download.hh') 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 data; std::string mimeType; std::function dataCallback; - DownloadRequest(const std::string& uri) - : uri(uri), parentAct(getCurActivity()) {} + DownloadRequest(const std::string& uri) : uri(uri) {} std::string verb() { return data ? "upload" : "download"; } }; -- cgit 1.4.1