mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-07-07 09:45:24 +08:00
Fix MSVC 2013 compilation issues
This commit is contained in:
@ -262,7 +262,7 @@ void tst_future::fail()
|
||||
auto input = QPromise<QString>::reject(MyException("bar"));
|
||||
auto output = input.fail([](const MyException& e) {
|
||||
return QtConcurrent::run([=]() {
|
||||
return QString("foo") + e.error();
|
||||
return QString("foo%1").arg(e.error());
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user