Skip to content

hash<coroutine_handle<>>::operator() should be const - #1423

Merged
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:masterfrom
CaseyCarter:fix1422
Nov 7, 2020
Merged

hash<coroutine_handle<>>::operator() should be const#1423
Stephan T. Lavavej (StephanTLavavej) merged 1 commit into
microsoft:masterfrom
CaseyCarter:fix1422

Conversation

@CaseyCarter

Copy link
Copy Markdown
Contributor

Fixes #1422.

@CaseyCarter Casey Carter (CaseyCarter) added the bug Something isn't working label Nov 4, 2020
@CaseyCarter
Casey Carter (CaseyCarter) requested a review from a team as a code owner November 4, 2020 04:44

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. I searched and didn't find any other occurrences throughout the STL.

@CaseyCarter

Copy link
Copy Markdown
Contributor Author

Looks good. I searched and didn't find any other occurrences throughout the STL.

As did I, but it didn't occur to me to mention that fact (1) to show due diligence, and (2) to demonstrate how we probe the area around bugs to ensure we find all of the rot.

@StephanTLavavej

Copy link
Copy Markdown
Member

Thanks for constantly improving the quality of the STL! 😹

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<coroutine>: coroutine_handle specialization of hash is not marked const

3 participants