refactor: use ENUM_NAME macro
Dieser Commit ist enthalten in:
Ursprung
636a5d690c
Commit
025c1598df
@ -33,11 +33,7 @@ enum class WeightUnit
|
||||
LongTons = 3,
|
||||
};
|
||||
|
||||
template<>
|
||||
struct EnumName<WeightUnit>
|
||||
{
|
||||
static constexpr char const* value = "weight_unit";
|
||||
};
|
||||
ENUM_NAME(WeightUnit, "weight_unit")
|
||||
|
||||
ENUM_VALUES(WeightUnit, 4,
|
||||
{
|
||||
|
||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren