diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-05-24 17:12:36 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-05-27 17:18:20 +0200 |
commit | 606d72da1758e59c813cd6369a65aed014030177 (patch) | |
tree | d02ce46c97ee01c9aa3055ca9f58afe8b4338eee /src/corelib/thread | |
parent | 7f543c6afadfede7ac3f12e772efe237250bce27 (diff) |
QFuture: remove incorrect sentence from docs
QFuture shouldn't be passed by value: it's a reference counted
class ("shared future").
Change-Id: I3890062c45f9a6470b278223b88d482f57bf68a0
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/corelib/thread')
-rw-r--r-- | src/corelib/thread/qfuture.qdoc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/thread/qfuture.qdoc b/src/corelib/thread/qfuture.qdoc index edaba61490..25cbfe18c9 100644 --- a/src/corelib/thread/qfuture.qdoc +++ b/src/corelib/thread/qfuture.qdoc @@ -116,9 +116,6 @@ the isCanceled(), isStarted(), isFinished(), isRunning(), isSuspending() or isSuspended() functions. - QFuture is a lightweight reference counted class that can be passed by - value. - QFuture<void> is specialized to not contain any of the result fetching functions. Any QFuture<T> can be assigned or copied into a QFuture<void> as well. This is useful if only status or progress information is needed |