about summary refs log tree commit diff
path: root/src/libstore/remote-store.hh
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2016-09-02T18·31-0400
committerShea Levy <shea@shealevy.com>2016-09-02T18·31-0400
commitecba88de9367f733610121fc0153310f92e05b65 (patch)
tree8f27af7beac0959304468dd74aa581815489a76d /src/libstore/remote-store.hh
parentb4b5e9ce2f58aecea2fe3ca1fe9388e4fc7df556 (diff)
Add ssh store implementation
Diffstat (limited to 'src/libstore/remote-store.hh')
-rw-r--r--src/libstore/remote-store.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstore/remote-store.hh b/src/libstore/remote-store.hh
index a69a4f2a3b..5c9c617d93 100644
--- a/src/libstore/remote-store.hh
+++ b/src/libstore/remote-store.hh
@@ -90,20 +90,20 @@ protected:
         FdSource from;
         unsigned int daemonVersion;
 
-        ~Connection();
+        virtual ~Connection();
 
         void processStderr(Sink * sink = 0, Source * source = 0);
     };
 
     virtual ref<Connection> openConnection() = 0;
 
-    void setOptions(Connection & conn);
-
     void initConnection(Connection & conn);
 
+    ref<Pool<Connection>> connections;
+
 private:
 
-    ref<Pool<Connection>> connections;
+    void setOptions(Connection & conn);
 };
 
 class UDSRemoteStore : public LocalFSStore, public RemoteStore