Skip to content

Conversation

@bernardnormier
Copy link
Member

The initial version was not quite correct as _tasks would grow forever.

}));

// We don't want the _tasks vector to grow forever so remove all completed task here, without waiting.
// TODO: switch to std::erase_if when we can use C++20.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pre-C++20 syntax is unfortunately not very readable. See item 32 in Scott Meyers' Effective STL.

@bernardnormier bernardnormier merged commit ea16092 into zeroc-ice:main Feb 12, 2025
7 checks passed
@bernardnormier bernardnormier deleted the amd-fix branch June 18, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants