From 593dc80637bd95e2ca458915295ee2cbea2a4696 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 29 Mar 2025 23:31:49 -0400 Subject: Quick fix to fix compile-error --- src/sim/if.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sim/if.cc') diff --git a/src/sim/if.cc b/src/sim/if.cc index 7d3291b..3d53ad3 100644 --- a/src/sim/if.cc +++ b/src/sim/if.cc @@ -28,7 +28,7 @@ void IF::advance_helper() r = this->storage->read_word(this->id, this->pc, bits); if (r == OK) { this->status = r; - this->curr_instr = std::make_unique(); + this->curr_instr = new InstrDTO(); this->curr_instr->set_instr_bits(bits); } else this->status = STALLED; -- cgit v1.2.3