mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-02-09 00:05:43 +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.