fix: Crashes and usability issues with the pattern tree filter

This commit is contained in:
WerWolv
2025-12-01 19:35:22 +01:00
parent 8f57dd86af
commit 980438008c
5 changed files with 165 additions and 51 deletions

View File

@@ -33,7 +33,7 @@ namespace hex::plugin::visualizers {
height = u64(arguments[2].toUnsigned());
auto iterable = dynamic_cast<pl::ptrn::IIterable*>(pattern.get());
iterable->forEachEntry(0, iterable->getEntryCount(), [&](u64, pl::ptrn::Pattern *entry) {
iterable->forEachEntry(0, iterable->getEntryCount(), [&](u64, const auto &entry) {
tableContent.push_back(entry->toString());
});
}