Fix missing Ampersand
This commit is contained in:
parent
07d105c761
commit
9b5776b373
|
|
@ -62,7 +62,7 @@ void DoublyLinkedList::append(DoublyLinkedList *appendingList) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DoublyLinkedList::splice(DoublyLinkedList *insertingList, int position) {
|
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 *prev = NULL;
|
||||||
ExtendedListItem *current = NULL;
|
ExtendedListItem *current = NULL;
|
||||||
current = this->head;
|
current = this->head;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue