Commit a64e4f2d authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by facebook-github-bot-9

Avoid incorrect constexpr in folly/AtomicHashArray.h.

Summary: [Folly] Avoid incorrect constexpr in folly/AtomicHashArray.h.

It's actually not transitively constexpr, because it uses const values that are not themselves constexpr. Depending on the compiler, it could theoretically fail to build.

Reviewed By: @Gownta

Differential Revision: D2322143
parent e7e569e9
......@@ -134,7 +134,7 @@ class AtomicHashArray : boost::noncopyable {
static const KeyT kErasedKey;
public:
constexpr Config() : emptyKey(kEmptyKey),
Config() : emptyKey(kEmptyKey),
lockedKey(kLockedKey),
erasedKey(kErasedKey),
maxLoadFactor(0.8),
......
Markdown is supported
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