diff --git a/core/src/dog_segment/SegmentNaive.cpp b/core/src/dog_segment/SegmentNaive.cpp index dcabc6efa4..16713502a6 100644 --- a/core/src/dog_segment/SegmentNaive.cpp +++ b/core/src/dog_segment/SegmentNaive.cpp @@ -23,7 +23,7 @@ SegmentNaive::Record::Record(const Schema& schema) : uids_(1), timestamps_(1) { entity_vec_.emplace_back(std::make_shared>(field.get_dim())); } else { assert(field.get_data_type() == DataType::INT32); - entity_vec_.emplace_back(std::make_shared>()); + entity_vec_.emplace_back(std::make_shared>()); } } }