]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/db/manual_compaction_test.cc
import 14.2.4 nautilus point release
[ceph.git] / ceph / src / rocksdb / db / manual_compaction_test.cc
index 403e2a347b223f57501bf5b14e036b11723339aa..02732a555830050c05c79d280938d64bda240ed7 100644 (file)
@@ -51,15 +51,13 @@ class DestroyAllCompactionFilter : public CompactionFilter {
  public:
   DestroyAllCompactionFilter() {}
 
-  virtual bool Filter(int /*level*/, const Slice& /*key*/,
-                      const Slice& existing_value, std::string* /*new_value*/,
-                      bool* /*value_changed*/) const override {
+  bool Filter(int /*level*/, const Slice& /*key*/, const Slice& existing_value,
+              std::string* /*new_value*/,
+              bool* /*value_changed*/) const override {
     return existing_value.ToString() == "destroy";
   }
 
-  virtual const char* Name() const override {
-    return "DestroyAllCompactionFilter";
-  }
+  const char* Name() const override { return "DestroyAllCompactionFilter"; }
 };
 
 TEST_F(ManualCompactionTest, CompactTouchesAllKeys) {