This commit is contained in:
hexiaoting 2020-11-10 11:24:39 +08:00
parent ef0b78cf12
commit c7c14cc6ad

View File

@ -32,8 +32,7 @@ std::string ColumnMap::getName() const
ColumnMap::ColumnMap(MutableColumns && mutable_columns)
{
assert(2 == mutable_columns.size());
columns.reserve(2);
columns.reserve(mutable_columns.size());
for (auto & column : mutable_columns)
{
assert(column->getDataType() == TypeIndex::Array);