diff options
author | Nick Van den Broeck <nick.van.den.broeck666@gmail.com> | 2019-03-21 09:30:16 +0100 |
---|---|---|
committer | Nick Van den Broeck <nick.van.den.broeck666@gmail.com> | 2019-03-23 13:42:48 +0100 |
commit | a554f523db34a5d6a8281c5228acfc128a8bd589 (patch) | |
tree | 5c489156c326ec08c357e311c3359c7bf409e30a /src/libexpr/eval.hh | |
parent | 5e4d92d267c080bcb81168e37429bbb56bc39fb2 (diff) |
Combining registries properly
Diffstat (limited to 'src/libexpr/eval.hh')
-rw-r--r-- | src/libexpr/eval.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/eval.hh b/src/libexpr/eval.hh index 35c01b97a..f6c894cad 100644 --- a/src/libexpr/eval.hh +++ b/src/libexpr/eval.hh @@ -316,10 +316,10 @@ private: public: - const FlakeRegistry & getFlakeRegistry(); + const std::vector<std::shared_ptr<FlakeRegistry>> getFlakeRegistries(); private: - std::unique_ptr<FlakeRegistry> _flakeRegistry; + std::shared_ptr<FlakeRegistry> _flakeRegistry; std::once_flag _flakeRegistryInit; }; |