fix code style

This commit is contained in:
taiyang-li 2021-02-19 20:09:26 +08:00
parent 89d8c1264c
commit e76b224f72
3 changed files with 3 additions and 3 deletions

View File

@ -391,7 +391,7 @@ void DiskLocal::sync(int fd) const
throw Exception("Cannot fsync", ErrorCodes::CANNOT_FSYNC); 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 String & config_prefix,
const Context & context) const Context & context)
{ {

View File

@ -108,7 +108,7 @@ public:
const String getType() const override { return "local"; } 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 String & config_prefix,
const Context & context) override; const Context & context) override;

View File

@ -198,7 +198,7 @@ public:
virtual Executor & getExecutor() { return *executor; } virtual Executor & getExecutor() { return *executor; }
/// Reload config if config changed /// 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 String & /* config_prefix */,
const Context & /* context */) { } const Context & /* context */) { }