summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qbasicatomic.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2023-07-07 09:20:57 -0700
committerThiago Macieira <thiago.macieira@intel.com>2023-07-08 15:44:49 -0700
commit80a431a2e6369b471e07905be1b930669a4aae27 (patch)
treeb686423b413eb84634e68b85bb48d03942847e92 /src/corelib/thread/qbasicatomic.h
parent271901c5cf06a2e3c00acc35759f0e022f9f16b9 (diff)
QBasicAtomicXXX: remove the comment about them being "New atomics"
They were new... in commit 1f843ca39ee59c5304009faf308ddce791614a02 ("Add the new QBasicAtomicXXX implementation - no backends yet") for Qt 5.0, which is what allowed us to use the C++11 atomics. That replaced the even older implementation from Qt 4.4 where QBasicAtomicInt was a full class and we didn't support any other integer types. That of course replaced the even older QBasicAtomic from 4.0, first introduced in 2004 (7 years before C++11). Change-Id: I53335f845a1345299031fffd176fa251b31bfeea Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib/thread/qbasicatomic.h')
-rw-r--r--src/corelib/thread/qbasicatomic.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/corelib/thread/qbasicatomic.h b/src/corelib/thread/qbasicatomic.h
index e3fbe558908..6d061ea49a4 100644
--- a/src/corelib/thread/qbasicatomic.h
+++ b/src/corelib/thread/qbasicatomic.h
@@ -19,8 +19,6 @@ QT_END_NAMESPACE
#pragma qt_sync_stop_processing
#endif
-// New atomics
-
template <typename T>
class QBasicAtomicInteger
{