WIP
This commit is contained in:
parent
fbf122fbda
commit
bd8a1f0b0c
1 changed files with 1 additions and 1 deletions
|
@ -1280,7 +1280,7 @@ sparsemap_merge(sparsemap_t *map, sparsemap_t *other)
|
|||
__sm_chunk_t src_chunk;
|
||||
__sm_chunk_map_init(&src_chunk, src + sizeof(sm_idx_t));
|
||||
size_t src_size = __sm_chunk_map_get_size(&src_chunk);
|
||||
__sm_insert_data(map, src_start, src, src_size);
|
||||
__sm_insert_data(map, dst_start, src, src_size);
|
||||
*(sm_idx_t *)dst = src_start;
|
||||
|
||||
/* Update the chunk count and data_used. */
|
||||
|
|
Loading…
Reference in a new issue