Fix override error in system_clock.h (#10858)

Summary:
Fix error
```
 rocksdb/system_clock.h:30:11: error: '~SystemClock' overrides a destructor but is not marked 'override' [-Werror,-Wsuggest-destructor-override]
virtual ~SystemClock() {}
```

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10858

Test Plan: Ran internally

Reviewed By: siying

Differential Revision: D40652374

Pulled By: akankshamahajan15

fbshipit-source-id: 5dda8ca03ea57d709442c87e23e5fe097d7db672
This commit is contained in:
akankshamahajan 2022-10-24 17:13:26 -07:00 committed by Facebook GitHub Bot
parent 7cf27eae0a
commit 0ed1a800ed
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ struct ConfigOptions;
// operating system time-related functionality.
class SystemClock : public Customizable {
public:
virtual ~SystemClock() {}
~SystemClock() override {}
static const char* Type() { return "SystemClock"; }
static Status CreateFromString(const ConfigOptions& options,