| 2295 | } |
| 2296 | |
| 2297 | struct designation{ |
| 2298 | df::coord pos; |
| 2299 | df::tile_designation td; |
| 2300 | df::tile_occupancy to; |
| 2301 | designation() = default; |
| 2302 | designation(const df::coord &c, const df::tile_designation &td, const df::tile_occupancy &to) : pos(c), td(td), to(to) {} |
| 2303 | |
| 2304 | bool operator==(const designation &rhs) const { |
| 2305 | return pos == rhs.pos; |
| 2306 | } |
| 2307 | |
| 2308 | bool operator!=(const designation &rhs) const { |
| 2309 | return !(rhs == *this); |
| 2310 | } |
| 2311 | }; |
| 2312 | |
| 2313 | namespace std { |
| 2314 | template<> |
no outgoing calls
no test coverage detected