Skip to content

Commit

Permalink
found another one
Browse files Browse the repository at this point in the history
  • Loading branch information
ArduinoidIOT authored May 25, 2022
1 parent 3f367c4 commit dafdf74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VTIL-Common/util/detached_queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ namespace vtil

k->prev = nullptr;
k->next = head;
if ( head ) head->prev = k;
if ( head && head != key::invalid_value) head->prev = k;
if ( !tail ) tail = k;
head = k;
list_size++;
Expand Down

0 comments on commit dafdf74

Please sign in to comment.