Moved DataTypeWithDictionary implementation to DataTypeWithDictionary.cpp

This commit is contained in:
Nikolai Kochetov 2018-05-03 20:25:10 +03:00
parent 7788d30dca
commit e2416cfa6f

View File

@ -118,7 +118,7 @@ MutableColumnPtr ColumnVector<T>::cloneResized(size_t size) const
memcpy(&new_col.data[0], &data[0], count * sizeof(data[0]));
if (size > count)
memset(&new_col.data[count], static_cast<int>(value_type()), (size - count) * sizeof(value_type()));
memset(&new_col.data[count], static_cast<int>(value_type()), (size - count) * sizeof(value_type));
}
return std::move(res);