about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2016-10-06T14·34+0200
committerEelco Dolstra <edolstra@gmail.com>2016-10-06T15·00+0200
commitae522f930d69c5b80c13cd6596919d57ea971b88 (patch)
tree72a373d49ebadca64c6fe7a7f2b1d7bcfc768eeb /src
parentcd128f4bad0444e0c244d62dd8abe277c189e629 (diff)
Fix getS3Stats()
Diffstat (limited to 'src')
-rw-r--r--src/libstore/s3-binary-cache-store.cc2
-rw-r--r--src/libstore/s3-binary-cache-store.hh2
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 91ec3643b90e..c11f2b06b990 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 79ab72e5a940..4d43fe4d23d8 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;
 };
 
 }