From c0385f0cee52a5bb17e95cbdedda3dbff5f60b53 Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Fri, 24 Jun 2022 09:35:14 +0200 Subject: [PATCH] QAtomicInteger docs: mention bool and char8_t as 8-bit types Pick-to: 6.4 6.3 6.2 5.15 Change-Id: If673ba1e891e034dfe5e441b1e3427f3365320e6 Reviewed-by: Thiago Macieira --- src/corelib/thread/qatomic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/thread/qatomic.cpp b/src/corelib/thread/qatomic.cpp index 90441eb0f3..8c0424c32c 100644 --- a/src/corelib/thread/qatomic.cpp +++ b/src/corelib/thread/qatomic.cpp @@ -31,7 +31,7 @@ The template parameter \c T must be a C++ integer type: \list - \li 8-bit: char, signed char, unsigned char, qint8, quint8 + \li 8-bit: bool, char, signed char, unsigned char, qint8, quint8, char8_t (C++20) \li 16-bit: short, unsigned short, qint16, quint16, char16_t (C++11) \li 32-bit: int, unsigned int, qint32, quint32, char32_t (C++11) \li 64-bit: long long, unsigned long long, qint64, quint64