We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5a8be commit 9adee06Copy full SHA for 9adee06
src/extractor/obstacles.cpp
@@ -65,7 +65,7 @@ ObstacleMap::GetType ObstacleMap::get(NodeID from, NodeID to, Obstacle::Type typ
65
{
66
auto &[from_id, to_id, obstacle] = kv.second;
67
return (from_id == SPECIAL_NODEID || from_id == from) &&
68
- (u_int16_t(obstacle.type) & u_int16_t(type));
+ (uint16_t(obstacle.type) & uint16_t(type));
69
};
70
return iter | boost::adaptors::filtered(from_filter) | boost::adaptors::transformed(transf);
71
}
0 commit comments