diff --git a/src/Disks/DiskLocal.cpp b/src/Disks/DiskLocal.cpp index 86bf358b11f..03163aa1770 100644 --- a/src/Disks/DiskLocal.cpp +++ b/src/Disks/DiskLocal.cpp @@ -391,7 +391,7 @@ void DiskLocal::sync(int fd) const throw Exception("Cannot fsync", ErrorCodes::CANNOT_FSYNC); } -void DiskLocal::updateFromConfigIfChanged(const Poco::Util::AbstractConfiguration & config, +void DiskLocal::updateFromConfigIfChanged(const Poco::Util::AbstractConfiguration & config, const String & config_prefix, const Context & context) { diff --git a/src/Disks/DiskLocal.h b/src/Disks/DiskLocal.h index 59fb6196ab3..8d32a8e2176 100644 --- a/src/Disks/DiskLocal.h +++ b/src/Disks/DiskLocal.h @@ -108,7 +108,7 @@ public: const String getType() const override { return "local"; } - void updateFromConfigIfChanged(const Poco::Util::AbstractConfiguration & config, + void updateFromConfigIfChanged(const Poco::Util::AbstractConfiguration & config, const String & config_prefix, const Context & context) override; diff --git a/src/Disks/IDisk.h b/src/Disks/IDisk.h index ede057d8ef1..0ce3bddbf34 100644 --- a/src/Disks/IDisk.h +++ b/src/Disks/IDisk.h @@ -198,7 +198,7 @@ public: virtual Executor & getExecutor() { return *executor; } /// Reload config if config changed - virtual void updateFromConfigIfChanged(const Poco::Util::AbstractConfiguration & /* config */, + virtual void updateFromConfigIfChanged(const Poco::Util::AbstractConfiguration & /* config */, const String & /* config_prefix */, const Context & /* context */) { }