mirror of https://github.com/facebook/rocksdb.git
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
This commit is contained in:
parent
186344196b
commit
c057c2e81d
|
@ -909,7 +909,7 @@ class FSRandomAccessFile {
|
||||||
virtual size_t GetUniqueId(char* /*id*/, size_t /*max_size*/) const {
|
virtual size_t GetUniqueId(char* /*id*/, size_t /*max_size*/) const {
|
||||||
return 0; // Default implementation to prevent issues with backwards
|
return 0; // Default implementation to prevent issues with backwards
|
||||||
// compatibility.
|
// compatibility.
|
||||||
};
|
}
|
||||||
|
|
||||||
enum AccessPattern { kNormal, kRandom, kSequential, kWillNeed, kWontNeed };
|
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 {
|
size_t GetUniqueId(char* id, size_t max_size) const override {
|
||||||
return target_->GetUniqueId(id, max_size);
|
return target_->GetUniqueId(id, max_size);
|
||||||
};
|
}
|
||||||
void Hint(AccessPattern pattern) override { target_->Hint(pattern); }
|
void Hint(AccessPattern pattern) override { target_->Hint(pattern); }
|
||||||
bool use_direct_io() const override { return target_->use_direct_io(); }
|
bool use_direct_io() const override { return target_->use_direct_io(); }
|
||||||
size_t GetRequiredBufferAlignment() const override {
|
size_t GetRequiredBufferAlignment() const override {
|
||||||
|
|
Loading…
Reference in New Issue