diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-10-25 07:53:45 +0000 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-10-25 15:56:54 +0000 |
commit | 342b37f3884e62f2097addda1aacb1d15be38bf7 (patch) | |
tree | 20d9f3515de2d34951ea284abd368668e0468dd7 /src/corelib/thread/qatomic.cpp | |
parent | 1af821825a4173532cf14024ea9bebc75bf3c62c (diff) |
Revert "QAtomic: remove the copy ctor and assignment operator"
This reverts commit 6a93ec2435b8a453d43956fef6afa5f091d70ffc.
Reason for revert: Breaks qtdeclarative build, submodules need
to be clean before we deprecate or remove APIs.
Change-Id: Id0726b9bfad6072065b380b44b6ff6dffda79e45
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/corelib/thread/qatomic.cpp')
-rw-r--r-- | src/corelib/thread/qatomic.cpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/corelib/thread/qatomic.cpp b/src/corelib/thread/qatomic.cpp index 948f30bb98..4843556eb5 100644 --- a/src/corelib/thread/qatomic.cpp +++ b/src/corelib/thread/qatomic.cpp @@ -211,6 +211,20 @@ */ /*! + \fn template <typename T> QAtomicInteger<T>::QAtomicInteger(const QAtomicInteger &other) + + Constructs a copy of \a other. +*/ + +/*! + \fn template <typename T> QAtomicInteger &QAtomicInteger<T>::operator=(const QAtomicInteger &other) + + Assigns \a other to this QAtomicInteger and returns a reference to + this QAtomicInteger. +*/ + + +/*! \fn template <typename T> T QAtomicInteger<T>::loadRelaxed() const \since 5.14 @@ -1355,6 +1369,19 @@ */ /*! + \fn template <typename T> QAtomicPointer<T>::QAtomicPointer(const QAtomicPointer<T> &other) + + Constructs a copy of \a other. +*/ + +/*! + \fn template <typename T> QAtomicPointer &QAtomicPointer<T>::operator=(const QAtomicPointer &other) + + Assigns \a other to this QAtomicPointer and returns a reference to + this QAtomicPointer. +*/ + +/*! \fn template <typename T> T *QAtomicPointer<T>::loadRelaxed() const \since 5.14 |