summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qresultstore.h
diff options
context:
space:
mode:
authorJonas Kvinge <jonas@jkvinge.net>2021-10-09 15:06:03 +0200
committerJonas Kvinge <jonas@jkvinge.net>2021-10-12 12:52:02 +0200
commit231fec7ca2f61da7d94c8aa072b41fd7ee893861 (patch)
treeab57dfa7050addd53d82f2040f4cddc8b3d3b17c /src/corelib/thread/qresultstore.h
parent651d7debe1effb1288194344cd4ec82377092a5b (diff)
corelib: Fix typos in source code comments
Pick-to: 6.2 Change-Id: Ic78afb67143112468c6f84677ac88f27a74b53aa Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/thread/qresultstore.h')
-rw-r--r--src/corelib/thread/qresultstore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/thread/qresultstore.h b/src/corelib/thread/qresultstore.h
index ced181a91d..a2a14f3de2 100644
--- a/src/corelib/thread/qresultstore.h
+++ b/src/corelib/thread/qresultstore.h
@@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
ResultStore stores indexed results. Results can be added and retrieved
either individually batched in a QList. Retriveing results and checking
which indexes are in the store can be done either by iterating or by random
- accees. In addition results kan be removed from the front of the store,
+ access. In addition results can be removed from the front of the store,
either individually or in batches.
*/
@@ -62,7 +62,7 @@ namespace QtPrivate {
class ResultItem
{
public:
- ResultItem(const void *_result, int _count) : m_count(_count), result(_result) { } // contruct with vector of results
+ ResultItem(const void *_result, int _count) : m_count(_count), result(_result) { } // construct with vector of results
ResultItem(const void *_result) : m_count(0), result(_result) { } // construct with result
ResultItem() : m_count(0), result(nullptr) { }
bool isValid() const { return result != nullptr; }