Fix build error in SelfHosting.cpp

This commit is contained in:
wuggy 2026-06-29 06:55:57 +01:00
commit 4b6afe41d7

View file

@ -1495,7 +1495,7 @@ CopyValues(SharedMem<To*> dest, SharedMem<From*> src, uint32_t count)
#if defined(_OPENMP)
const int64_t openMpCount = int64_t(count);
if (openMpCount >= (1 << 14)) {
#pragma omp parallel for default(none) shared(dest, src, openMpCount) schedule(static)
#pragma omp parallel for default(none) shared(dest, src) schedule(static)
for (int64_t i = 0; i < openMpCount; i++) {
uint32_t index = uint32_t(i);
AtomicOperations::storeSafeWhenRacy(dest + index,