Fix missing Ampersand
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user