blob: f5ae19098ae5211636773c29c83e0a0fc2d9b7cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- linkedlist.h Tue Sep 7 06:32:48 2004
+++ linkedlist.h Tue Sep 7 06:33:00 2004
@@ -121,7 +121,7 @@
int linkedList<ItemType>::add(ItemType Item, int location) {
node* parent;
node* nextspot;
- if(!find(location, root_, parent)) return 0;
+ if(!find(location, root, parent)) return 0;
nextspot = parent->next;
parent->next = new node;
parent->next->next = nextspot;
|