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 --- tests/id.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/id.cc b/tests/id.cc index d9c1701..f460505 100644 --- a/tests/id.cc +++ b/tests/id.cc @@ -14,7 +14,7 @@ class IDFixture { Dram *dr; - dr = new Dram(3); + this->dr = new Dram(3); this->c = new Cache(dr, 1); IF *f = new IF(nullptr); this->d = new ID(f); @@ -65,6 +65,8 @@ class IDFixture t = (t << TYPE_SIZE) + type; return t; } + + Dram *dr; Cache *c; ID *d; Controller *ct; -- cgit v1.2.3