summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/util/partitioned_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/util/partitioned_test.cpp')
-rw-r--r--src/mongo/db/catalog/util/partitioned_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/util/partitioned_test.cpp b/src/mongo/db/catalog/util/partitioned_test.cpp
index f7eb220f37c..1bffbf7c201 100644
--- a/src/mongo/db/catalog/util/partitioned_test.cpp
+++ b/src/mongo/db/catalog/util/partitioned_test.cpp
@@ -235,7 +235,7 @@ TEST(PartitionedConcurrency, ShouldProtectConcurrentAccesses) {
std::vector<stdx::thread> threads;
const size_t opsPerThread = 1000;
- AtomicUInt32 ready{0};
+ AtomicWord<unsigned> ready{0};
for (size_t threadId = 1; threadId <= numThreads; ++threadId) {
auto workerThreadBody = [&, threadId, opsPerThread]() {