This repository has been archived by the owner on Dec 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Unable to create a AsyncFuture::Deferred<QList<T>> #23
Comments
This is due to template resolution. Use a QVector instead of a QList.
|
As of Qt6, QVector is now an alias for QList, so this error pops no matter which one you use. |
This is a breaking change for me (at least, it is as of today because I've tried to use it with a Future holding a QVector...!) |
Is this an issue on the current master? This repository is currently maintained on https://github.com/vpicaver/asyncfuture |
Yes, it should be raised there.
…On Wed, 25 Oct 2023, 15:45 Philip Schuchardt, ***@***.***> wrote:
Is this an issue on the current master? This repository is currently
maintained on https://github.com/vpicaver/asyncfuture
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHSGJTJ4OKCTZO4QNGF3ELYBEQ2DAVCNFSM4JSHLOX2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXHE2DINJRGIYA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
vpicaver
added a commit
to vpicaver/asyncfuture
that referenced
this issue
Oct 25, 2023
Asyncfuture now detects if QList or QVector is passed to the correct QFutureInterface<T>::reportResult This fixes issue 23 listed in benlau#23
@remster Do you think you could close this issue. It has been fixed in vpicaver@900e4a2 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is a very handy library - thank you. But:
Consider this function:
and the compiler error:
for some reason the compiler prefers to match this instead of this.
The text was updated successfully, but these errors were encountered: