aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/s3-binary-cache-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-12-21 12:51:36 +0100
committerGitHub <noreply@github.com>2020-12-21 12:51:36 +0100
commit9fab14adbc3810d5cc1f88672fde1eee4358405c (patch)
treee9ffec61c56668f4f95aa814bd3d131d45c0eabb /src/libstore/s3-binary-cache-store.hh
parentec4a5c5b0b4cc54ef96fe165ba80a2c6d08f08ce (diff)
parent1a1af75338cb9ed28dc00de2e696d8efc5d37287 (diff)
Merge pull request #4385 from obsidiansystems/store-subclass
Overhaul store subclassing
Diffstat (limited to 'src/libstore/s3-binary-cache-store.hh')
-rw-r--r--src/libstore/s3-binary-cache-store.hh6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstore/s3-binary-cache-store.hh b/src/libstore/s3-binary-cache-store.hh
index 4d43fe4d2..bce828b11 100644
--- a/src/libstore/s3-binary-cache-store.hh
+++ b/src/libstore/s3-binary-cache-store.hh
@@ -6,13 +6,11 @@
namespace nix {
-class S3BinaryCacheStore : public BinaryCacheStore
+class S3BinaryCacheStore : public virtual BinaryCacheStore
{
protected:
- S3BinaryCacheStore(const Params & params)
- : BinaryCacheStore(params)
- { }
+ S3BinaryCacheStore(const Params & params);
public: