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
|
@ -20,7 +20,9 @@ public:
|
|||
LocalBinaryCacheStore(
|
||||
const Path & binaryCacheDir,
|
||||
const Params & params)
|
||||
: LocalBinaryCacheStoreConfig(params)
|
||||
: StoreConfig(params)
|
||||
, BinaryCacheStoreConfig(params)
|
||||
, LocalBinaryCacheStoreConfig(params)
|
||||
, BinaryCacheStore(params)
|
||||
, binaryCacheDir(binaryCacheDir)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue