mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
fix: I guess we can still not use std::views::enumerate
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user