bool Offer::operator==(Offer& other) { if (this->destination == other.getDest() && this->type == other.getType() && this->price == other.getPrice()) return (true); return (false); }
void Offer::operator=(Offer other) { this->destination = other.getDest(); this->type = other.getType(); this->price = other.getPrice(); }