Skip to content

Commit

Permalink
reset unique_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
pippocao committed Oct 15, 2024
1 parent 5575bbc commit 7490837
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/bq_common/types/basic_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ namespace bq {
{
if (ptr) {
delete ptr;
ptr = nullptr;
}
}

Expand Down

0 comments on commit 7490837

Please sign in to comment.