[chore](build) Porting to GCC-13 (#19293)

Support using GCC-13 to build the codebase.
This commit is contained in:
Adonis Ling
2023-05-08 10:42:06 +08:00
committed by GitHub
parent fb5b3029a7
commit 673cbe3317
14 changed files with 69 additions and 20 deletions

View File

@ -930,8 +930,7 @@ Status AggregationNode::_reset_hash_table() {
((_total_size_of_aggregate_states + _align_aggregate_states - 1) /
_align_aggregate_states) *
_align_aggregate_states));
HashTableType new_hash_table;
hash_table = std::move(new_hash_table);
hash_table = HashTableType();
_agg_arena_pool.reset(new Arena);
return Status::OK();
},