Fix missing Ampersand
This commit is contained in:
1 parent
07d105c761
commit
9b5776b373
1 file changed
+1
-1
@@ -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