# | Line 89 | Line 89 | bool Page::operator==(const Page& page) | |
---|---|---|
89 | { | |
90 | if (address == page.address) | |
91 | { | |
92 | < | if (path == page.path || title == page.title) return true; |
92 | > | return path == page.path || title == page.title; |
93 | } | |
94 | ||
95 | return false; | |
96 | } | |
97 | ||
98 | < | bool Page::operator<(const Page& page) const |
98 | > | /*bool Page::operator<(const Page& page) const |
99 | { | |
100 | if (address == page.address) | |
101 | { | |
# | Line 113 | Line 113 | bool Page::operator>(const Page& page) c | |
113 | } | |
114 | ||
115 | return address > page.address; | |
116 | < | } |
116 | > | }*/ |
117 | ||
118 | ostream& operator<<(ostream& output, Page& page) | |
119 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |