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

MS-641 Segment fault(signal 11) in PickToLoad


Former-commit-id: f21a926a97496a32db0fd4cda3d8bef3a49f8457
parent c2279a37
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();