diff --git a/be/src/runtime/task_group/task_group.h b/be/src/runtime/task_group/task_group.h index c54fce2ab6..938f73ac20 100644 --- a/be/src/runtime/task_group/task_group.h +++ b/be/src/runtime/task_group/task_group.h @@ -160,9 +160,9 @@ private: std::shared_mutex _task_sched_lock; std::unique_ptr _cgroup_cpu_ctl = nullptr; - std::unique_ptr _task_sched = nullptr; - std::unique_ptr _scan_task_sched = nullptr; - std::unique_ptr _remote_scan_task_sched = nullptr; + std::unique_ptr _task_sched {nullptr}; + std::unique_ptr _scan_task_sched {nullptr}; + std::unique_ptr _remote_scan_task_sched {nullptr}; std::unique_ptr _non_pipe_thread_pool = nullptr; };