Skip to content
New issue

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

remove index access on unordered_map inside class ResourceTracker #17

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

BlurryLight
Copy link
Contributor

std::unordered_map<T> only supports operator [](T&&).
It's an unordered container, so index access doesn't make sense.
Actually, no code use the function and if anyone tries, it won't compile in any meaningful case

@apanteleev apanteleev merged commit b32a433 into NVIDIAGameWorks:main Apr 11, 2024
1 check passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants