MS-641 Segment fault(signal 11) in PickToLoad

Former-commit-id: 78149b38f89b1e0e6a9a35dac224c119f25467d2
This commit is contained in:
wxyu 2019-10-12 17:10:19 +08:00
parent 4778a904df
commit fcff83e083

View File

@ -149,6 +149,11 @@ class TaskTable {
}
public:
TaskTableItemPtr& operator[](uint64_t index) {
std::lock_guard<std::mutex> lock(mutex_);
return table_[index];
}
std::deque<TaskTableItemPtr>::iterator
begin() {
return table_.begin();