[refactor] fix warings when compile with clang (#8069)

This commit is contained in:
Zhengguo Yang
2022-02-19 11:29:02 +08:00
committed by GitHub
parent 8892780091
commit 50864aca7d
200 changed files with 1750 additions and 2617 deletions

View File

@ -23,15 +23,8 @@ namespace doris {
using std::to_string;
EngineAlterTabletTask::EngineAlterTabletTask(const TAlterTabletReqV2& request, int64_t signature,
const TTaskType::type task_type,
std::vector<string>* error_msgs,
const string& process_name)
: _alter_tablet_req(request),
_signature(signature),
_task_type(task_type),
_error_msgs(error_msgs),
_process_name(process_name) {}
EngineAlterTabletTask::EngineAlterTabletTask(const TAlterTabletReqV2& request)
: _alter_tablet_req(request) {}
OLAPStatus EngineAlterTabletTask::execute() {
DorisMetrics::instance()->create_rollup_requests_total->increment(1);