diff options
Diffstat (limited to 'src/storage/cache.cc')
-rw-r--r-- | src/storage/cache.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/storage/cache.cc b/src/storage/cache.cc index efcaa32..34bdc5f 100644 --- a/src/storage/cache.cc +++ b/src/storage/cache.cc @@ -2,18 +2,18 @@ Cache::Cache(int lines, Storage *lower, int delay) { - this->data = new std::vector<std::array<unsigned int, 4>>; - this->data->resize(lines); - this->lower = lower; - this->delay = delay; - this->lower = nullptr; + this->data = new std::vector<std::array<unsigned int, 4>>; + this->data->resize(lines); + this->lower = lower; + this->delay = delay; + this->lower = nullptr; } Cache::~Cache() { delete this->data; } Response *Cache::write(Accessor accessor, signed int data, int address) { - return new Response(); + return new Response(); } Response *Cache::read(Accessor accessor, int address) { return nullptr; } |