summaryrefslogtreecommitdiff
path: root/src/mongo/idl/server_parameter_with_storage_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/idl/server_parameter_with_storage_test.cpp')
-rw-r--r--src/mongo/idl/server_parameter_with_storage_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/idl/server_parameter_with_storage_test.cpp b/src/mongo/idl/server_parameter_with_storage_test.cpp
index eacbeeb94bd..c813832ef72 100644
--- a/src/mongo/idl/server_parameter_with_storage_test.cpp
+++ b/src/mongo/idl/server_parameter_with_storage_test.cpp
@@ -34,8 +34,8 @@
#include "mongo/unittest/unittest.h"
namespace mongo {
-AtomicInt32 test::gStdIntPreallocated;
-AtomicInt32 test::gStdIntPreallocatedUpdateCount;
+AtomicWord<int> test::gStdIntPreallocated;
+AtomicWord<int> test::gStdIntPreallocatedUpdateCount;
namespace {
@@ -151,8 +151,8 @@ TEST(ServerParameterWithStorage, StorageTest) {
doStorageTestByType<double>("DoubleD", doubleVals, stringVals);
doStorageTestByType<std::string>("String", stringVals, {});
- doStorageTestByAtomic<AtomicBool>("AtomicBool", boolVals, stringVals);
- doStorageTestByAtomic<AtomicInt32>("AtomicInt32", numberVals, stringVals);
+ doStorageTestByAtomic<AtomicWord<bool>>("AtomicWord<bool>", boolVals, stringVals);
+ doStorageTestByAtomic<AtomicWord<int>>("AtomicWord<int>", numberVals, stringVals);
doStorageTestByAtomic<AtomicDouble>("AtomicDoubleI", numberVals, stringVals);
doStorageTestByAtomic<AtomicDouble>("AtomicDoubleD", doubleVals, stringVals);
}