mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 20:02:05 +00:00
Apply suggestions from code review
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
This commit is contained in:
parent
bc7bd12a9c
commit
a82b9fda88
@ -215,9 +215,9 @@ public:
|
|||||||
using Data = State::Data;
|
using Data = State::Data;
|
||||||
|
|
||||||
|
|
||||||
Port(ConstBlockPtr header_) : header(header_) { } /// NOLINT
|
Port(ConstBlockPtr header_) : header(std::move(header_)) { } // NOLINT(google-explicit-constructor)
|
||||||
Port(Block && header_) : header(std::make_shared<const Block>(std::move(header_))) { } /// NOLINT
|
Port(Block && header_) : header(std::make_shared<const Block>(std::move(header_))) { } // NOLINT(google-explicit-constructor)
|
||||||
Port(const Block & header_) : header(std::make_shared<const Block>(std::move(header_))) { } /// NOLINT
|
Port(const Block & header_) : header(std::make_shared<const Block>(header_)) { } // NOLINT(google-explicit-constructor)
|
||||||
Port(Block header_, IProcessor * processor_) : header(std::make_shared<const Block>(std::move(header_))), processor(processor_) { }
|
Port(Block header_, IProcessor * processor_) : header(std::make_shared<const Block>(std::move(header_))), processor(processor_) { }
|
||||||
|
|
||||||
void setUpdateInfo(UpdateInfo * info) { update_info = info; }
|
void setUpdateInfo(UpdateInfo * info) { update_info = info; }
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#include <memory>
|
|
||||||
#include <Processors/Transforms/ExpressionTransform.h>
|
#include <Processors/Transforms/ExpressionTransform.h>
|
||||||
#include <Interpreters/ExpressionActions.h>
|
#include <Interpreters/ExpressionActions.h>
|
||||||
#include <Core/Block.h>
|
#include <Core/Block.h>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
#include <Processors/ISimpleTransform.h>
|
#include <Processors/ISimpleTransform.h>
|
||||||
#include <Processors/Transforms/ExceptionKeepingTransform.h>
|
#include <Processors/Transforms/ExceptionKeepingTransform.h>
|
||||||
#include "Core/Block.h"
|
#include <Core/Block.h>
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include <QueryPipeline/Chain.h>
|
#include <QueryPipeline/Chain.h>
|
||||||
#include <QueryPipeline/QueryPlanResourceHolder.h>
|
#include <QueryPipeline/QueryPlanResourceHolder.h>
|
||||||
#include <QueryPipeline/SizeLimits.h>
|
#include <QueryPipeline/SizeLimits.h>
|
||||||
#include "Core/Block.h"
|
#include <Core/Block.h>
|
||||||
|
|
||||||
|
|
||||||
namespace DB
|
namespace DB
|
||||||
|
Loading…
Reference in New Issue
Block a user