diff options
Diffstat (limited to 'src/libstore/ssh-store.cc')
-rw-r--r-- | src/libstore/ssh-store.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libstore/ssh-store.cc b/src/libstore/ssh-store.cc index 80d10eb0f..94c0b7237 100644 --- a/src/libstore/ssh-store.cc +++ b/src/libstore/ssh-store.cc @@ -1,4 +1,4 @@ -#include "ssh-store-config.hh" +#include "ssh-store.hh" #include "store-api.hh" #include "local-fs-store.hh" #include "remote-store.hh" @@ -110,6 +110,8 @@ ref<RemoteStore::Connection> SSHStore::openConnection() return conn; } -static RegisterStoreImplementation<SSHStore, SSHStoreConfig> regSSHStore; +void registerSSHStore() { + StoreImplementations::add<SSHStore, SSHStoreConfig>(); +} } |