I'm currently trying to parallelize my code, therefore I'm using QtConcurrent::run
and the problem is, run doesn't know which function to choose.
Is there a way to use run with an overloaded function or do I have find some sort of workaround?
I'm currently trying to parallelize my code, therefore I'm using QtConcurrent::run
and the problem is, run doesn't know which function to choose.
Is there a way to use run with an overloaded function or do I have find some sort of workaround?
You can just
static_cast
the pointer to ensure there's no ambiguity in the processor alternatively get a pointer to the right one.