diff --git a/src/Processors/Port.h b/src/Processors/Port.h index fbf5da9076b..1c69afab4ae 100644 --- a/src/Processors/Port.h +++ b/src/Processors/Port.h @@ -215,9 +215,9 @@ public: using Data = State::Data; - Port(ConstBlockPtr header_) : header(header_) { } /// NOLINT - Port(Block && header_) : header(std::make_shared(std::move(header_))) { } /// NOLINT - Port(const Block & header_) : header(std::make_shared(std::move(header_))) { } /// NOLINT + Port(ConstBlockPtr header_) : header(std::move(header_)) { } // NOLINT(google-explicit-constructor) + Port(Block && header_) : header(std::make_shared(std::move(header_))) { } // NOLINT(google-explicit-constructor) + Port(const Block & header_) : header(std::make_shared(header_)) { } // NOLINT(google-explicit-constructor) Port(Block header_, IProcessor * processor_) : header(std::make_shared(std::move(header_))), processor(processor_) { } void setUpdateInfo(UpdateInfo * info) { update_info = info; } diff --git a/src/Processors/Transforms/ExpressionTransform.cpp b/src/Processors/Transforms/ExpressionTransform.cpp index c1cb8260dfb..f2f83a2678f 100644 --- a/src/Processors/Transforms/ExpressionTransform.cpp +++ b/src/Processors/Transforms/ExpressionTransform.cpp @@ -1,7 +1,7 @@ -#include #include #include #include +#include namespace DB diff --git a/src/Processors/Transforms/ExpressionTransform.h b/src/Processors/Transforms/ExpressionTransform.h index fa50c679b49..f560297a1b9 100644 --- a/src/Processors/Transforms/ExpressionTransform.h +++ b/src/Processors/Transforms/ExpressionTransform.h @@ -1,7 +1,7 @@ #pragma once #include #include -#include "Core/Block.h" +#include namespace DB { diff --git a/src/QueryPipeline/Pipe.h b/src/QueryPipeline/Pipe.h index e357ff65657..99d9c705f91 100644 --- a/src/QueryPipeline/Pipe.h +++ b/src/QueryPipeline/Pipe.h @@ -4,7 +4,7 @@ #include #include #include -#include "Core/Block.h" +#include namespace DB