mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
Correctly call all the parent contructors of the stores
Using virtual inheritance means that only the default constructors of the parent classes will be called, which isn't what we want
This commit is contained in:
parent
d184ad1d27
commit
5895184df4
12 changed files with 47 additions and 20 deletions
|
@ -199,7 +199,9 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore, virtual S3BinaryCache
|
|||
S3BinaryCacheStoreImpl(
|
||||
const std::string & bucketName,
|
||||
const Params & params)
|
||||
: S3BinaryCacheStoreConfig(params)
|
||||
: StoreConfig(params)
|
||||
, BinaryCacheStoreConfig(params)
|
||||
, S3BinaryCacheStoreConfig(params)
|
||||
, S3BinaryCacheStore(params)
|
||||
, bucketName(bucketName)
|
||||
, s3Helper(profile, region, scheme, endpoint)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue