Cleanup: replace static_casts with functional casts for numeric types

This commit is contained in:
2022-09-25 18:30:50 +10:00
parent 891949cbb4
commit c7b247a118
62 changed files with 148 additions and 167 deletions

View File

@@ -612,8 +612,7 @@ void GEOMETRY_OT_attribute_convert(wmOperatorType *ot)
PropertyRNA *prop;
RNA_def_enum(
ot->srna, "mode", mode_items, static_cast<int>(ConvertAttributeMode::Generic), "Mode", "");
RNA_def_enum(ot->srna, "mode", mode_items, int(ConvertAttributeMode::Generic), "Mode", "");
prop = RNA_def_enum(ot->srna,
"domain",