ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Person.hpp
(Generate patch)

Comparing Smersh/Person.hpp (file contents):
Revision 183 by Douglas Thrift, 2004-07-04T21:27:49-07:00 vs.
Revision 241 by Douglas Thrift, 2004-09-11T20:59:56-07:00

# Line 30 | Line 30 | public:
30          vector<Person>::const_iterator endMultiple() const { return multiple.end();
31          }
32          void clearMultiple() { multiple.clear(); }
33 <        Person& operator=(const Person& person) { name = person.name; }
33 >        Person& operator=(const Person& person) { name = person.name; return *this; }
34          bool operator==(const Person& person) const { return name == person.name; }
35          bool operator<(const Person& person) const { return name < person.name; }
36   // friends:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines