We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b9cc26b + d452f68 commit d89a524Copy full SHA for d89a524
include/swift/Runtime/Concurrent.h
@@ -881,7 +881,7 @@ struct ConcurrentReadableHashMap {
881
auto *newElements = ElementStorage::allocate(newCapacity);
882
883
if (elements) {
884
- if constexpr (std::is_trivially_copyable<ElemTy>::value) {
+ if (std::is_trivially_copyable<ElemTy>::value) {
885
memcpy(newElements->data(), elements->data(),
886
elementCount * sizeof(ElemTy));
887
} else {
0 commit comments