1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 15:31:47 +02:00

Wrap thread local in function for Cygwin

Fixes #1826. See #1352 for a previous instance of a similar change.
This commit is contained in:
Asad Saeeduddin 2018-03-12 00:56:41 -04:00
parent 24b739817f
commit be54f4a0b6
3 changed files with 17 additions and 7 deletions

View file

@ -22,7 +22,7 @@ struct DownloadRequest
std::string mimeType;
DownloadRequest(const std::string & uri)
: uri(uri), parentAct(curActivity) { }
: uri(uri), parentAct(getCurActivity()) { }
};
struct DownloadResult