Adds a comment as to why the char to typed enum class transformation is not possible
This commit is contained in:
parent
ef171f3acd
commit
978b70c998
@ -6,6 +6,8 @@ namespace osrm
|
||||
namespace extractor
|
||||
{
|
||||
|
||||
// This is a char instead of a typed enum, so that we can
|
||||
// pack it into e.g. a "TravelMode mode : 4" packed bitfield
|
||||
using TravelMode = unsigned char;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user