Minor: add helper size()
This commit is contained in:
parent
57a093e9ae
commit
8123526e11
@ -31,6 +31,8 @@ public:
|
|||||||
unsigned nextExecIndex() const;
|
unsigned nextExecIndex() const;
|
||||||
bool nextExec() const;
|
bool nextExec() const;
|
||||||
bool exec(bool last=false);
|
bool exec(bool last=false);
|
||||||
|
|
||||||
|
unsigned size() { return m_workList.size(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // WORK_LIST_H_INCLUDED
|
#endif // WORK_LIST_H_INCLUDED
|
||||||
|
Loading…
x
Reference in New Issue
Block a user