| 46 | } |
| 47 | |
| 48 | CgRange* DgRange::GetCgRange(uint64_t record_id) { |
| 49 | auto itr = cg_list_.find(record_id); |
| 50 | return itr == cg_list_.cend() ? nullptr : &itr->second; |
| 51 | } |
| 52 | |
| 53 | bool DgRange::IsReady() const { |
| 54 | return std::all_of(cg_list_.begin(), cg_list_.cend(), |
no test coverage detected