Minor code cleanup

This commit is contained in:
Alexander Burmak 2019-12-12 12:18:46 +03:00
parent 2ce6136de5
commit c514ec3278
2 changed files with 0 additions and 5 deletions

View File

@ -63,8 +63,6 @@ public:
std::unique_ptr<WriteBuffer> writeFile(const String & path) override;
bool supportsAtomicMove() const override { return true; }
private:
bool tryReserve(UInt64 bytes);

View File

@ -97,9 +97,6 @@ public:
/// Open the file for write and return WriteBuffer object.
virtual std::unique_ptr<WriteBuffer> writeFile(const String & path) = 0;
/// Return `true` if underlying storage supports atomic move of files (rename).
virtual bool supportsAtomicMove() const { return false; }
};
using DiskPtr = std::shared_ptr<IDisk>;