about summary refs log tree commit diff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-03-15T13·56+0100
committerGitHub <noreply@github.com>2018-03-15T13·56+0100
commit7b8914825a6b02173976eae0ca59053085d4b20a (patch)
treea913c0a57ea199dad59e4bb45a6f16f05941e797 /src/libstore
parentcfdbfa6b2cc27ae5b98c5f27599bbc0fc6a104c1 (diff)
parentbe54f4a0b6f160f8a2b0b9e9c988fb5251f70a97 (diff)
Merge pull request #1965 from masaeedu/master
Wrap thread local in function for Cygwin
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/download.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index d9d525d4e65f..0b8d29b21dfe 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/download.hh
@@ -22,7 +22,7 @@ struct DownloadRequest
     std::string mimeType;
 
     DownloadRequest(const std::string & uri)
-        : uri(uri), parentAct(curActivity) { }
+        : uri(uri), parentAct(getCurActivity()) { }
 };
 
 struct DownloadResult