| 179 | } |
| 180 | |
| 181 | std::span<const AirportObject::MovementEdge> AirportObject::getMovementEdges() const |
| 182 | { |
| 183 | const auto* base = reinterpret_cast<const uint8_t*>(this); |
| 184 | const auto* ptr = reinterpret_cast<const MovementEdge*>(base + movementEdgesOffset); |
| 185 | return std::span<const MovementEdge>(ptr, numMovementEdges); |
| 186 | } |
| 187 | |
| 188 | } |
no outgoing calls
no test coverage detected