Skip to content

src: simplify native_immediate_callbacks

  • Use std::list instead of std::vector because we do not need random access.
  • Use list.erase instead of moving elements then resizing to remove the first n elements in the list for simplicity and avoiding reallocation.
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading