1
1
Fork 0
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:
Eelco Dolstra 2025-04-14 14:29:14 +02:00
parent e3042f10af
commit 4966217b6a
7 changed files with 16 additions and 13 deletions

View file

@ -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>();
}
}