Skip to content

Conversation

@droberts195
Copy link

The problem is described in
https://stackoverflow.com/questions/7411515/why-does-c-require-a-user-provided-default-constructor-to-default-construct-a

Moving construction of the hasher object into the checksum
method won't matter in practice as the constructor is a
no-op and the object has no data members, so it should get
completely optimised away.

Backport of #699

The problem is described in
https://stackoverflow.com/questions/7411515/why-does-c-require-a-user-provided-default-constructor-to-default-construct-a

Moving construction of the hasher object into the checksum
method won't matter in practice as the constructor is a
no-op and the object has no data members, so it should get
completely optimised away.

Backport of elastic#699
@droberts195 droberts195 merged commit f4526a3 into elastic:7.x Sep 27, 2019
@droberts195 droberts195 deleted the std_hash_compile_error_7x branch September 27, 2019 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant