From 4af2740d80368cf24f12ad11475cbcea8a41962d Mon Sep 17 00:00:00 2001 From: Simon Brunel Date: Wed, 14 Feb 2018 22:36:22 +0100 Subject: [PATCH] Enable QPromise::resolve() by reference --- src/qtpromise/qpromise.h | 1 + src/qtpromise/qpromise.inl | 8 ++++ .../qtpromise/benchmark/tst_benchmark.cpp | 26 ++++++++++++ tests/auto/qtpromise/qpromise/qpromise.pro | 1 + .../qtpromise/qpromise/resolve/resolve.pro | 4 ++ .../qpromise/resolve/tst_resolve.cpp | 41 +++++++++++++++++++ 6 files changed, 81 insertions(+) create mode 100644 tests/auto/qtpromise/qpromise/resolve/resolve.pro create mode 100644 tests/auto/qtpromise/qpromise/resolve/tst_resolve.cpp diff --git a/src/qtpromise/qpromise.h b/src/qtpromise/qpromise.h index ed7d7c5..3d3b568 100644 --- a/src/qtpromise/qpromise.h +++ b/src/qtpromise/qpromise.h @@ -88,6 +88,7 @@ public: // STATIC template