summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-29 23:31:49 -0400
committerbd <bdunahu@operationnull.com>2025-03-29 23:31:49 -0400
commit593dc80637bd95e2ca458915295ee2cbea2a4696 (patch)
tree9e8f2e4b0f78159defadbaffdb7454d2ebdc14e1 /tests
parent1250c3765f59801d060152d5f6eed0a9faa11b50 (diff)
Quick fix to fix compile-error
Diffstat (limited to 'tests')
-rw-r--r--tests/id.cc4
1 files changed, 3 insertions, 1 deletions
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;