mirror of
https://github.com/NixOS/nix
synced 2025-06-28 17:51:15 +02:00
Make EvalState::srcToStore thread-safe
This commit is contained in:
parent
b36aa04b53
commit
7d295c594e
2 changed files with 5 additions and 5 deletions
|
@ -306,7 +306,7 @@ private:
|
|||
|
||||
/* Cache for calls to addToStore(); maps source paths to the store
|
||||
paths. */
|
||||
std::map<SourcePath, StorePath> srcToStore;
|
||||
Sync<std::map<SourcePath, StorePath>> srcToStore;
|
||||
|
||||
/**
|
||||
* A cache from path names to parse trees.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue