aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-10-06 14:00:42 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-10-06 14:52:30 +0200
commitad143c5b3b7e713b89f0437ce17c20ac642ca530 (patch)
treee81c2c5e57115d9882ec22ed02e91fd8ea7c41b0 /src/libstore
parent2856878b411694d2a815a88a5b3fe81c0f15811e (diff)
Shut up some clang warnings
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/dummy-store.cc3
-rw-r--r--src/libstore/store-api.hh2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/libstore/dummy-store.cc b/src/libstore/dummy-store.cc
index 736be8413..98b745c3a 100644
--- a/src/libstore/dummy-store.cc
+++ b/src/libstore/dummy-store.cc
@@ -18,8 +18,7 @@ struct DummyStore : public Store, public virtual DummyStoreConfig
DummyStore(const Params & params)
: StoreConfig(params)
, Store(params)
- {
- }
+ { }
string getUri() override
{
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index 854446987..450c0f554 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -194,6 +194,8 @@ struct StoreConfig : public Config
*/
StoreConfig() { assert(false); }
+ virtual ~StoreConfig() { }
+
virtual const std::string name() = 0;
const PathSetting storeDir_{this, false, settings.nixStore,