From cf3ac49639bef5082489068e2d92a4d86f42080b Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 20 Mar 2025 19:28:57 -0400 Subject: Rewrite all Dram tests to use Fixture --- src/storage/dram.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/storage/dram.cc') diff --git a/src/storage/dram.cc b/src/storage/dram.cc index 56eec47..20db47e 100644 --- a/src/storage/dram.cc +++ b/src/storage/dram.cc @@ -8,10 +8,10 @@ #include #include -Dram::Dram(int lines, int delay) +Dram::Dram(int delay) { this->data = new std::vector>; - this->data->resize(lines); + this->data->resize(MEM_LINES); this->delay = delay; this->is_waiting = false; this->lower = nullptr; -- cgit v1.2.3