| 490 | } |
| 491 | |
| 492 | void TableImpl::ScanCallBackWrapper(std::weak_ptr<TableImpl> weak_ptr_table, ScanTask* scan_task, |
| 493 | ScanTabletRequest* request, ScanTabletResponse* response, |
| 494 | bool failed, int error_code) { |
| 495 | auto table = weak_ptr_table.lock(); |
| 496 | if (!table) { |
| 497 | return; |
| 498 | } |
| 499 | table->ScanCallBack(scan_task, request, response, failed, error_code); |
| 500 | } |
| 501 | |
| 502 | void TableImpl::ScanCallBack(ScanTask* scan_task, ScanTabletRequest* request, |
| 503 | ScanTabletResponse* response, bool failed, int error_code) { |
nothing calls this directly
no test coverage detected