Commit 4d1b43d4 authored by Igor Chorazewicz's avatar Igor Chorazewicz
Browse files

Change header_features constant to a function in concurrent_hash_map.

header_features was only declared (not defined) in concurrent_hash_map header.
This means that (until C++17) it can be used only in places where address of
this constant is not needed. In operator != we access one member of header_fatures
which requrires it to be declared. This only fails for some compilers like clang-9
because rest of the evaluate this expression at compile time (this is a compiler
decision whether to do this at compile time or runtime).

Fix this issue by creating function header_features().
parent 70f4e359
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment