We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
void CrateSystem::Reset() { for (auto it = m_crateTemplateVector.begin(); it != m_crateTemplateVector.end();) { if (*it && (*it)->Delete_Overrides()) { it++; } else { it = m_crateTemplateVector.erase(it); } } }
Is deleting from std::vector. Starting at the front. Expensive. Should probably use erase_if algorithm instead.
erase_if
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is deleting from std::vector. Starting at the front. Expensive. Should probably use
erase_if
algorithm instead.The text was updated successfully, but these errors were encountered: