Adds a comment as to why the char to typed enum class transformation is not possible

This commit is contained in:
Daniel J. Hofmann 2016-01-28 16:57:05 +01:00
parent ef171f3acd
commit 978b70c998

View File

@ -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;
}
}