Try and make operator <
const
:
bool operator<(const coord &o) const {
(Your = operator
should probably be == operator
and const
as well)
Try and make operator <
const
:
bool operator<(const coord &o) const {
(Your = operator
should probably be == operator
and const
as well)