1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-06 00:51:00 +01:00

Style tweaks

This commit is contained in:
Eelco Dolstra 2021-07-07 10:02:55 +02:00
parent e37ecd1282
commit 3b3e6bb1e5
4 changed files with 9 additions and 8 deletions

View file

@ -124,7 +124,7 @@ std::shared_ptr<Registry> getUserRegistry()
return userRegistry;
}
std::shared_ptr<Registry> getCustomRegistry(Path p)
std::shared_ptr<Registry> getCustomRegistry(const Path & p)
{
static auto customRegistry =
Registry::read(p, Registry::Custom);