Skip to content

Commit

Permalink
volatile
Browse files Browse the repository at this point in the history
Signed-off-by: zhuangbowei.zbw <[email protected]>
  • Loading branch information
WaberZhuang committed Aug 6, 2024
1 parent 7ce4086 commit 2980bf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/overlaybd/zfile/zfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ bool load_jump_table(IFile *file, CompressionFile::HeaderTrailer *pheader_traile
LOG_INFO("read overwrite header. idx_offset: `, idx_bytes: `, dict_size: `, use_dict: `",
pht->index_offset, index_bytes, pht->opt.dict_size, pht->opt.use_dict);
}
auto ibuf = new uint32_t[pht->index_size];
volatile auto ibuf = new uint32_t[pht->index_size];
DEFER(delete[] ibuf);
// auto ibuf = std::unique_ptr<uint32_t[]>(new uint32_t[pht->index_size]);
LOG_INFO(VALUE((void*) ibuf), VALUE(index_bytes));
Expand Down

0 comments on commit 2980bf0

Please sign in to comment.