summaryrefslogtreecommitdiff
path: root/src/mongo/platform/atomic_word.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/platform/atomic_word.h')
-rw-r--r--src/mongo/platform/atomic_word.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mongo/platform/atomic_word.h b/src/mongo/platform/atomic_word.h
index 5edbe2ae334..be65ae74ab6 100644
--- a/src/mongo/platform/atomic_word.h
+++ b/src/mongo/platform/atomic_word.h
@@ -183,7 +183,7 @@ public:
} // namespace atomic_word_detail
/**
- * Instantiations of AtomicWord must be scalar types.
+ * Instantiations of AtomicWord must be trivially copyable.
*/
template <typename T>
class AtomicWord : public atomic_word_detail::Base<T> {
@@ -193,10 +193,4 @@ public:
using atomic_word_detail::Base<T>::Base;
};
-using AtomicUInt32 = AtomicWord<unsigned>;
-using AtomicUInt64 = AtomicWord<unsigned long long>;
-using AtomicInt32 = AtomicWord<int>;
-using AtomicInt64 = AtomicWord<long long>;
-using AtomicBool = AtomicWord<bool>;
-
} // namespace mongo