From 4b0d6716dc41ca627c4b4bcb1eb353a6717d1e32 Mon Sep 17 00:00:00 2001 From: wangbo Date: Tue, 27 Feb 2024 10:09:33 +0800 Subject: [PATCH] [Fix](be)Fix gcc compile failed #31431 --- be/src/runtime/task_group/task_group.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; };