Fix types

This commit is contained in:
Anton Ivashkin 2021-12-01 19:11:17 +03:00
parent e0a16a483e
commit 0e685c1aba

View File

@ -248,7 +248,7 @@ public:
virtual void applyNewSettings(const Poco::Util::AbstractConfiguration &, ContextPtr, const String &, const DisksMap &) {} virtual void applyNewSettings(const Poco::Util::AbstractConfiguration &, ContextPtr, const String &, const DisksMap &) {}
/// Open the local file for read and return ReadBufferFromFileBase object. /// Open the local file for read and return ReadBufferFromFileBase object.
/// Overriden in IDiskRemote. /// Overridden in IDiskRemote.
/// Used for work with custom metadata. /// Used for work with custom metadata.
virtual std::unique_ptr<ReadBufferFromFileBase> readMetaFile( virtual std::unique_ptr<ReadBufferFromFileBase> readMetaFile(
const String & path, const String & path,
@ -256,7 +256,7 @@ public:
std::optional<size_t> size = {}) const; std::optional<size_t> size = {}) const;
/// Open the local file for write and return WriteBufferFromFileBase object. /// Open the local file for write and return WriteBufferFromFileBase object.
/// Overriden in IDiskRemote. /// Overridden in IDiskRemote.
/// Used for work with custom metadata. /// Used for work with custom metadata.
virtual std::unique_ptr<WriteBufferFromFileBase> writeMetaFile( virtual std::unique_ptr<WriteBufferFromFileBase> writeMetaFile(
const String & path, const String & path,
@ -264,7 +264,7 @@ public:
WriteMode mode = WriteMode::Rewrite); WriteMode mode = WriteMode::Rewrite);
/// Return reference count for remote FS. /// Return reference count for remote FS.
/// Overriden in IDiskRemote. /// Overridden in IDiskRemote.
virtual UInt32 getRefCount(const String &) const { return 0; } virtual UInt32 getRefCount(const String &) const { return 0; }
protected: protected: