Thread: Compiler Error
View Single Post
Old 06-10-2004, 07:27 PM   #9 (permalink)
saiz66
Registered User
 
Join Date: May 2004
Posts: 11
saiz66 is on a distinguished road
hmm.. does that work? well if it does, I found another solution:

Replace
bool operator <(const Patient &P)
with
bool operator <(const Patient &P) const


that little const fixed it all. Thanks for the help though, really appreciate it!
saiz66 is offline   Reply With Quote