mirror of
https://github.com/NixOS/nix.git
synced 2025-12-16 14:01:05 +01:00
Move the InputCache to EvalState
This commit is contained in:
parent
e3042f10af
commit
4966217b6a
7 changed files with 16 additions and 13 deletions
|
|
@ -72,10 +72,9 @@ struct InputCacheImpl : InputCache
|
|||
}
|
||||
};
|
||||
|
||||
ref<InputCache> InputCache::getCache()
|
||||
ref<InputCache> InputCache::create()
|
||||
{
|
||||
static auto cache = make_ref<InputCacheImpl>();
|
||||
return cache;
|
||||
return make_ref<InputCacheImpl>();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue