change filter to avoid allocations

This commit is contained in:
roeming
2026-04-25 14:39:47 -04:00
parent 4e264d6a22
commit 0bf663141a
+3 -1
View File
@@ -1530,7 +1530,9 @@ namespace dusk {
}
for (const auto& e : duskImguiEventFlags) {
if (!filter.PassFilter((e.location + "\n" + e.description + "\n" + e.flagName).c_str()))
if (!filter.PassFilter(e.location.c_str()) &&
!filter.PassFilter(e.description.c_str()) &&
!filter.PassFilter(e.flagName.c_str()))
{
continue;
}