ContextConstPtr -> ContextPtr (resolve conflicts)

This commit is contained in:
Alexandra 2021-06-18 05:36:50 +00:00
parent 48d3419160
commit 5bc5a29c32
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ SyncGuardPtr DiskEncrypted::getDirectorySyncGuard(const String & path) const
void DiskEncrypted::applyNewSettings(
const Poco::Util::AbstractConfiguration & config,
ContextConstPtr /*context*/,
ContextPtr /*context*/,
const String & config_prefix,
const DisksMap & map)
{
@ -157,7 +157,7 @@ void registerDiskEncrypted(DiskFactory & factory)
auto creator = [](const String & name,
const Poco::Util::AbstractConfiguration & config,
const String & config_prefix,
ContextConstPtr /*context*/,
ContextPtr /*context*/,
const DisksMap & map) -> DiskPtr {
String wrapped_disk_name = config.getString(config_prefix + ".disk", "");

View File

@ -210,7 +210,7 @@ public:
delegate->onFreeze(wrapped_path);
}
void applyNewSettings(const Poco::Util::AbstractConfiguration & config, ContextConstPtr context, const String & config_prefix, const DisksMap & map) override;
void applyNewSettings(const Poco::Util::AbstractConfiguration & config, ContextPtr context, const String & config_prefix, const DisksMap & map) override;
DiskType::Type getType() const override { return DiskType::Type::Encrypted; }