Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
yiguolei committed Dec 26, 2024
1 parent 1188091 commit e44e5a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions be/src/runtime/exec_env.h
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,10 @@ class ExecEnv {
}
void set_cluster_info(ClusterInfo* cluster_info) { this->_cluster_info = cluster_info; }
void set_new_load_stream_mgr(std::unique_ptr<NewLoadStreamMgr>&& new_load_stream_mgr) {
this->_new_load_stream_mgr = new_load_stream_mgr;
this->_new_load_stream_mgr = std::move(new_load_stream_mgr);
}
void set_stream_load_executor(std::unique_ptr<StreamLoadExecutor>&& stream_load_executor) {
this->_stream_load_executor = stream_load_executor;
this->_stream_load_executor = std::move(stream_load_executor);
}

void set_storage_engine(std::unique_ptr<BaseStorageEngine>&& engine);
Expand All @@ -294,7 +294,7 @@ class ExecEnv {
void set_routine_load_task_executor(RoutineLoadTaskExecutor* r) {
this->_routine_load_task_executor = r;
}
void set_wal_mgr(std::unique_ptr<WalManager>&& wm) { this->_wal_manager = wm; }
void set_wal_mgr(std::unique_ptr<WalManager>&& wm) { this->_wal_manager = std::move(wm); }

void set_write_cooldown_meta_executors();
static void set_tracking_memory(bool tracking_memory) {
Expand Down

0 comments on commit e44e5a1

Please sign in to comment.