mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Merge pull request #2477 from flowbehappy/clang-compliant
Clang compliant on macosx
This commit is contained in:
commit
af8a552b06
@ -22,7 +22,7 @@ namespace ErrorCodes
|
||||
static void localBackupImpl(const Poco::Path & source_path, const Poco::Path & destination_path, size_t level,
|
||||
std::optional<size_t> max_level)
|
||||
{
|
||||
if (max_level && level > max_level.value())
|
||||
if (max_level && level > *max_level)
|
||||
return;
|
||||
|
||||
if (level >= 1000)
|
||||
|
Loading…
Reference in New Issue
Block a user