diff options
author | Asad Saeeduddin <masaeedu@gmail.com> | 2018-03-12T04·56-0400 |
---|---|---|
committer | Asad Saeeduddin <masaeedu@gmail.com> | 2018-03-12T04·56-0400 |
commit | be54f4a0b6f160f8a2b0b9e9c988fb5251f70a97 (patch) | |
tree | 6c8b27f007a89501d3378309a7caff4afbd4d115 /src/libstore/download.hh | |
parent | 24b739817fb719553dd4840308ee32ff60c88c1f (diff) |
Wrap thread local in function for Cygwin
Fixes #1826. See #1352 for a previous instance of a similar change.
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r-- | src/libstore/download.hh | 2 |
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 |