fix: I guess we can still not use std::views::enumerate
This commit is contained in:
parent
5e3532267c
commit
af27c09204
@ -90,7 +90,9 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
// Draw all settings of that category
|
||||
for (auto [index, subCategory] : category.subCategories | std::views::enumerate) {
|
||||
u32 index = 0;
|
||||
for (auto &subCategory : category.subCategories) {
|
||||
ON_SCOPE_EXIT { index += 1; };
|
||||
|
||||
// Skip empty subcategories
|
||||
if (subCategory.entries.empty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user