mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Update PODArray.h
This commit is contained in:
parent
2e604726e0
commit
c256682068
@ -241,8 +241,8 @@ public:
|
||||
if (unlikely(required_capacity > capacity()))
|
||||
reserve(required_capacity, std::forward<TAllocatorParams>(allocator_params)...);
|
||||
|
||||
size_t items_bytes_size = byte_size(number_of_items);
|
||||
memcpy(c_end, ptr, items_bytes_size);
|
||||
size_t items_byte_size = byte_size(number_of_items);
|
||||
memcpy(c_end, ptr, items_byte_size);
|
||||
c_end += items_byte_size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user