提交 fcff83e0 编写于 作者: W wxyu

MS-641 Segment fault(signal 11) in PickToLoad


Former-commit-id: 78149b38f89b1e0e6a9a35dac224c119f25467d2
上级 4778a904
...@@ -149,6 +149,11 @@ class TaskTable { ...@@ -149,6 +149,11 @@ class TaskTable {
} }
public: public:
TaskTableItemPtr& operator[](uint64_t index) {
std::lock_guard<std::mutex> lock(mutex_);
return table_[index];
}
std::deque<TaskTableItemPtr>::iterator std::deque<TaskTableItemPtr>::iterator
begin() { begin() {
return table_.begin(); return table_.begin();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册