| 188 | //! Determines if the unit matches the unit type. |
| 189 | struct IsUnit { |
| 190 | IsUnit(UNIT_TYPEID type) : type_(type) {}; |
| 191 | UNIT_TYPEID type_; |
| 192 | bool operator()(const Unit& unit) { return unit.unit_type == type_; }; |
| 193 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected