diff --git a/Uebung 2/Uebung2_2/doublyLinkedList.cpp b/Uebung 2/Uebung2_2/doublyLinkedList.cpp index 9a23ff0..d52d714 100644 --- a/Uebung 2/Uebung2_2/doublyLinkedList.cpp +++ b/Uebung 2/Uebung2_2/doublyLinkedList.cpp @@ -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;