Merge pull request #24210 from kitaisreal/small-style-code-simplification

Small code simplification
This commit is contained in:
Maksim Kita 2021-05-18 08:13:54 +03:00 committed by GitHub
commit 4a84c2f3ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -309,8 +309,7 @@ BlockIO InterpreterInsertQuery::execute()
auto out_wrapper = std::make_shared<CountingBlockOutputStream>(out);
out_wrapper->setProcessListElement(getContext()->getProcessListElement());
out = std::move(out_wrapper);
out_streams.emplace_back(std::move(out));
out_streams.emplace_back(std::move(out_wrapper));
}
}