diff --git a/include/list.h b/include/list.h index 86d5669..bc9a9a8 100644 --- a/include/list.h +++ b/include/list.h @@ -362,9 +362,9 @@ unsigned int list::Length() } template -bool list::Contains(ItemType value) +bool list::Contains(ItemType value) const { - listNodke* temp = head; + listNode* temp = head; while(temp != NULL) { if(temp->data == value)