From c057c2e81d1dadcfac3772a8ae7f037cef7fcd16 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Tue, 23 Jan 2024 08:40:00 -0800 Subject: [PATCH] Remove extra semi colon from internal_repo_rocksdb/repo/include/rocksdb/file_system.h Summary: `-Wextra-semi` or `-Wextra-semi-stmt` If the code compiles, this is safe to land. Reviewed By: dmm-fb Differential Revision: D52969123 fbshipit-source-id: d9e22dff70644dad0173ee8f6f9b64021f4b2551 --- include/rocksdb/file_system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/rocksdb/file_system.h b/include/rocksdb/file_system.h index 8590326732..532711a0d2 100644 --- a/include/rocksdb/file_system.h +++ b/include/rocksdb/file_system.h @@ -909,7 +909,7 @@ class FSRandomAccessFile { virtual size_t GetUniqueId(char* /*id*/, size_t /*max_size*/) const { return 0; // Default implementation to prevent issues with backwards // compatibility. - }; + } enum AccessPattern { kNormal, kRandom, kSequential, kWillNeed, kWontNeed }; @@ -1679,7 +1679,7 @@ class FSRandomAccessFileWrapper : public FSRandomAccessFile { } size_t GetUniqueId(char* id, size_t max_size) const override { return target_->GetUniqueId(id, max_size); - }; + } void Hint(AccessPattern pattern) override { target_->Hint(pattern); } bool use_direct_io() const override { return target_->use_direct_io(); } size_t GetRequiredBufferAlignment() const override {