TaskTree: Add static

Amends a50bc70b87

Change-Id: Ic0ea78fe8d9f74b50e4dc3310f3e17bdf520a5e8
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Jarek Kobus
2024-01-10 10:21:37 +01:00
parent bc2faebe02
commit a6dea9091f

View File

@@ -1631,7 +1631,7 @@ public:
std::unique_ptr<TaskInterface> m_task = {}; // Owning. std::unique_ptr<TaskInterface> m_task = {}; // Owning.
}; };
bool isProgressive(RuntimeContainer *container) static bool isProgressive(RuntimeContainer *container)
{ {
RuntimeIteration *iteration = container->m_parentTask->m_parentIteration; RuntimeIteration *iteration = container->m_parentTask->m_parentIteration;
return iteration ? iteration->m_isProgressive : true; return iteration ? iteration->m_isProgressive : true;