Lines 119-125
Link Here
|
119 |
if (predictor != pointer_id_predictor_map_.end()) { |
119 |
if (predictor != pointer_id_predictor_map_.end()) { |
120 |
predictor->second->Update(data); |
120 |
predictor->second->Update(data); |
121 |
} else { |
121 |
} else { |
122 |
pointer_id_predictor_map_.insert({event.id, SetUpPredictor()}); |
122 |
auto pair = std::make_pair(event.id, SetUpPredictor()); |
|
|
123 |
pointer_id_predictor_map_.insert(std::move(pair)); |
123 |
pointer_id_predictor_map_[event.id]->Update(data); |
124 |
pointer_id_predictor_map_[event.id]->Update(data); |
124 |
} |
125 |
} |
125 |
} |
126 |
} |