Fixing warnings on clang [#METR-2807].

This commit is contained in:
Alexey Milovidov 2016-03-07 07:36:54 +03:00
parent 0a48e6296e
commit e2ef99e3b1
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public:
metric_increment.destroy();
}
virtual std::string getFileName()
std::string getFileName() const override
{
return file_name;
}

View File

@ -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);
}