Skip to content

Commit

Permalink
[eclipse-iceoryx#504] Fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
elfenpiff committed Nov 18, 2024
1 parent 3be6089 commit a5f1e64
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iceoryx2-bb/container/src/slotmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ pub mod details {
let data_idx = self.idx_to_data[key.0];
if data_idx != INVALID {
self.data[data_idx].take();
debug_assert!(self.data_next_free_index.push_impl(data_idx));
let push_result = self.data_next_free_index.push_impl(data_idx);
debug_assert!(push_result);
self.release_free_index(key.0);
self.idx_to_data[key.0] = INVALID;
self.len -= 1;
Expand Down

0 comments on commit a5f1e64

Please sign in to comment.