found another one

This commit is contained in:
ArduinoidIOT 2022-05-25 09:01:48 +05:30 committed by GitHub
parent 3f367c4c37
commit dafdf74ec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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++;