mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Fixing warnings on clang [#METR-2807].
This commit is contained in:
parent
0a48e6296e
commit
e2ef99e3b1
@ -63,7 +63,7 @@ public:
|
||||
metric_increment.destroy();
|
||||
}
|
||||
|
||||
virtual std::string getFileName()
|
||||
std::string getFileName() const override
|
||||
{
|
||||
return file_name;
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ public:
|
||||
* This includes writing through or flushing a disk cache if present. The call blocks until the device
|
||||
* reports that the transfer has completed. It also flushes metadata information associated with the file (see stat(2)).
|
||||
* - man fsync */
|
||||
void sync()
|
||||
void sync() override
|
||||
{
|
||||
fsync(fd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user