widelands-dev team mailing list archive
-
widelands-dev team
-
Mailing list archive
-
Message #05001
Re: [Merge] lp:~widelands-dev/widelands/request_supply_opt into lp:widelands
Well I am not that skillful in C++, I want(ed) to use trivial:
bool operator() (const uint32_t & p1, const uint32_t & p2) const {
return p1.distance == p2.distance ? p1.serial < p2.serial : p1.distance < p2.distance;
}
(not tested of course)
--
https://code.launchpad.net/~widelands-dev/widelands/request_supply_opt/+merge/280193
Your team Widelands Developers is subscribed to branch lp:~widelands-dev/widelands/request_supply_opt.
References