Skip to content

Commit 49450f5

Browse files
committed
Merge remote-tracking branch 'origin/main' into rebranch
2 parents f75767d + d89a524 commit 49450f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Runtime/Concurrent.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -881,7 +881,7 @@ struct ConcurrentReadableHashMap {
881881
auto *newElements = ElementStorage::allocate(newCapacity);
882882

883883
if (elements) {
884-
if constexpr (std::is_trivially_copyable<ElemTy>::value) {
884+
if (std::is_trivially_copyable<ElemTy>::value) {
885885
memcpy(newElements->data(), elements->data(),
886886
elementCount * sizeof(ElemTy));
887887
} else {

0 commit comments

Comments
 (0)