Commit fcff83e0 authored by 王翔宇's avatar 王翔宇
Browse files

MS-641 Segment fault(signal 11) in PickToLoad


Former-commit-id: 78149b38f89b1e0e6a9a35dac224c119f25467d2
parent 4778a904
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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();