Skip to content

Commit c59c9f7

Browse files
r-barnesfacebook-github-bot
authored andcommitted
Remove extra semi colon from internal_repo_rocksdb/repo/utilities/fault_injection_env.h (#12280)
Summary: `-Wextra-semi` or `-Wextra-semi-stmt` If the code compiles, this is safe to land. Reviewed By: jaykorean Differential Revision: D52968943
1 parent ef34224 commit c59c9f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utilities/fault_injection_env.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class TestWritableFile : public WritableFile {
9595
}
9696
virtual bool use_direct_io() const override {
9797
return target_->use_direct_io();
98-
};
98+
}
9999
uint64_t GetFileSize() final { return target_->GetFileSize(); }
100100

101101
private:
@@ -122,7 +122,7 @@ class TestRandomRWFile : public RandomRWFile {
122122
size_t GetRequiredBufferAlignment() const override {
123123
return target_->GetRequiredBufferAlignment();
124124
}
125-
bool use_direct_io() const override { return target_->use_direct_io(); };
125+
bool use_direct_io() const override { return target_->use_direct_io(); }
126126

127127
private:
128128
std::unique_ptr<RandomRWFile> target_;

0 commit comments

Comments
 (0)