Skip to content

Commit

Permalink
simplify constructors even more
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemartinlogan committed Oct 19, 2023
1 parent b58face commit c29dea2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tasks/data_stager/src/data_stager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class Server : public TaskLib {
Server() = default;

void Construct(ConstructTask *task, RunContext &rctx) {
url_map_.resize(HRUN_QM_RUNTIME->max_lanes_);
blob_mdm_.Init(task->blob_mdm_);
// url_map_.resize(HRUN_QM_RUNTIME->max_lanes_);
// blob_mdm_.Init(task->blob_mdm_);
HILOG(kInfo, "DataStager Constructed")
task->SetModuleComplete();
}
Expand Down
6 changes: 3 additions & 3 deletions tasks/hermes_data_op/src/hermes_data_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ class Server : public TaskLib {
Server() = default;

void Construct(ConstructTask *task, RunContext &rctx) {
bkt_mdm_.Init(task->bkt_mdm_);
blob_mdm_.Init(task->blob_mdm_);
client_.Init(id_);
// bkt_mdm_.Init(task->bkt_mdm_);
// blob_mdm_.Init(task->blob_mdm_);
// client_.Init(id_);
// op_id_map_["min"] = 0;
// op_id_map_["max"] = 1;
// op_graphs_.resize(HRUN_QM_RUNTIME->max_lanes_);
Expand Down

0 comments on commit c29dea2

Please sign in to comment.