summaryrefslogtreecommitdiffstats
path: root/src/render/jobs/genericlambdajob_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/jobs/genericlambdajob_p.h')
-rw-r--r--src/render/jobs/genericlambdajob_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/jobs/genericlambdajob_p.h b/src/render/jobs/genericlambdajob_p.h
index 994cd3a14..765746b0c 100644
--- a/src/render/jobs/genericlambdajob_p.h
+++ b/src/render/jobs/genericlambdajob_p.h
@@ -64,11 +64,11 @@ template<typename T>
class GenericLambdaJob : public Qt3DCore::QAspectJob
{
public:
- explicit GenericLambdaJob(T callable, JobTypes::JobType type = JobTypes::GenericLambda, const char *name = "GenericLambda")
+ explicit GenericLambdaJob(T callable, JobTypes::JobType type = JobTypes::GenericLambda, const char *name = "GenericLambda", int instance = 0)
: Qt3DCore::QAspectJob()
, m_callable(callable)
{
- SET_JOB_RUN_STAT_TYPE_AND_NAME(this, type, name, 0)
+ SET_JOB_RUN_STAT_TYPE_AND_NAME(this, type, name, instance)
}
// QAspectJob interface