diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2016-10-06 16:34:14 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2016-10-06 17:00:52 +0200 |
commit | ae522f930d69c5b80c13cd6596919d57ea971b88 (patch) | |
tree | 72a373d49ebadca64c6fe7a7f2b1d7bcfc768eeb | |
parent | cd128f4bad0444e0c244d62dd8abe277c189e629 (diff) |
Fix getS3Stats()
-rw-r--r-- | src/libstore/s3-binary-cache-store.cc | 2 | ||||
-rw-r--r-- | src/libstore/s3-binary-cache-store.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc index 91ec3643b..c11f2b06b 100644 --- a/src/libstore/s3-binary-cache-store.cc +++ b/src/libstore/s3-binary-cache-store.cc @@ -99,7 +99,7 @@ struct S3BinaryCacheStoreImpl : public S3BinaryCacheStore } } - const Stats & getS3Stats() + const Stats & getS3Stats() override { return stats; } diff --git a/src/libstore/s3-binary-cache-store.hh b/src/libstore/s3-binary-cache-store.hh index 79ab72e5a..4d43fe4d2 100644 --- a/src/libstore/s3-binary-cache-store.hh +++ b/src/libstore/s3-binary-cache-store.hh @@ -27,7 +27,7 @@ public: std::atomic<uint64_t> head{0}; }; - const Stats & getS3Stats(); + virtual const Stats & getS3Stats() = 0; }; } |