14 lines
461 B
Plaintext
14 lines
461 B
Plaintext
$NetBSD: patch-ab,v 1.1 2006/01/05 14:24:38 joerg Exp $
|
|
|
|
--- linkedlist.h.orig 2006-01-05 14:01:20.000000000 +0000
|
|
+++ linkedlist.h
|
|
@@ -121,7 +121,7 @@ template <class ItemType>
|
|
int linkedList<ItemType>::add(ItemType Item, int location) {
|
|
node* parent;
|
|
node* nextspot;
|
|
- if(!find(location, root_, parent)) return 0;
|
|
+ if(!find(location, this->root_, parent)) return 0;
|
|
nextspot = parent->next;
|
|
parent->next = new node;
|
|
parent->next->next = nextspot;
|