Fix missing Ampersand

This commit is contained in:
Samuel Oberhofer 2022-06-06 13:49:31 +02:00
parent 07d105c761
commit 9b5776b373
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ void DoublyLinkedList::append(DoublyLinkedList *appendingList) {
}
void DoublyLinkedList::splice(DoublyLinkedList *insertingList, int position) {
if (insertingList->head != NULL & insertingList->tail != NULL) {
if (insertingList->head != NULL && insertingList->tail != NULL) {
ExtendedListItem *prev = NULL;
ExtendedListItem *current = NULL;
current = this->head;