From 5d4088d68df71b25f64772d612df501818733780 Mon Sep 17 00:00:00 2001 From: Tom Hicks Date: Mon, 20 Jun 2005 05:38:12 -0400 Subject: [PATCH] Changed: Added missing const to list::Contains ~g2k --- include/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)