diff options
Diffstat (limited to 'src/libstore/store-api.hh')
-rw-r--r-- | src/libstore/store-api.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh index 81b979b73..1bea4837b 100644 --- a/src/libstore/store-api.hh +++ b/src/libstore/store-api.hh @@ -820,6 +820,7 @@ struct Implementations { if (!registered) registered = new std::vector<StoreFactory>(); StoreFactory factory{ + .uriSchemes = T::uriSchemes(), .create = ([](const std::string & scheme, const std::string & uri, const Store::Params & params) -> std::shared_ptr<Store> @@ -827,8 +828,7 @@ struct Implementations .getConfig = ([]() -> std::shared_ptr<StoreConfig> - { return std::make_shared<TConfig>(StringMap({})); }), - .uriSchemes = T::uriSchemes() + { return std::make_shared<TConfig>(StringMap({})); }) }; registered->push_back(factory); } |