mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-04-01 22:08:39 +08:00
For consistency with other helpers, deprecate `qPromise()` in favor of `QtPromise::resolve()` but also add support for calling this helper with lvalue. Add extra unit tests to make sure that rvalue is not copied.
6 lines
127 B
Prolog
6 lines
127 B
Prolog
QT += concurrent
|
|
TARGET = tst_deprecations_helpers_qpromise
|
|
SOURCES += $$PWD/tst_qpromise.cpp
|
|
|
|
include(../../deprecations.pri)
|