diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-07-07 10:02:55 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-07-07 10:02:55 +0200 |
commit | 3b3e6bb1e50fae42ab509b0e3910c93b83dc84cc (patch) | |
tree | e332cd4a420c39e2da12854f4951f91f0daebc32 /src/libfetchers | |
parent | e37ecd1282f7ab2799db54eea5a12d078a5bd96f (diff) |
Style tweaks
Diffstat (limited to 'src/libfetchers')
-rw-r--r-- | src/libfetchers/registry.cc | 2 | ||||
-rw-r--r-- | src/libfetchers/registry.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libfetchers/registry.cc b/src/libfetchers/registry.cc index c2dfa9dc6..f35359d4b 100644 --- a/src/libfetchers/registry.cc +++ b/src/libfetchers/registry.cc @@ -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); diff --git a/src/libfetchers/registry.hh b/src/libfetchers/registry.hh index cde22dff6..260a2c460 100644 --- a/src/libfetchers/registry.hh +++ b/src/libfetchers/registry.hh @@ -49,7 +49,7 @@ typedef std::vector<std::shared_ptr<Registry>> Registries; std::shared_ptr<Registry> getUserRegistry(); -std::shared_ptr<Registry> getCustomRegistry(Path p); +std::shared_ptr<Registry> getCustomRegistry(const Path & p); Path getUserRegistryPath(); |