summaryrefslogtreecommitdiff
path: root/src/storage/cache.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-08 11:36:17 -0500
committerbd <bdunahu@operationnull.com>2025-03-08 11:36:17 -0500
commitc5f26a0bfdaafc8d49c88d2016df1724b64e5271 (patch)
tree964ced6682b34a1ee536c1a86e6c5b367ef17a77 /src/storage/cache.cc
parent3221a2c310afb6ed124d6b67afda110d4b8dcade (diff)
Refactor function return scheme
Diffstat (limited to 'src/storage/cache.cc')
-rw-r--r--src/storage/cache.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/cache.cc b/src/storage/cache.cc
index f4f60ba..bbefb2a 100644
--- a/src/storage/cache.cc
+++ b/src/storage/cache.cc
@@ -14,9 +14,9 @@ Cache::Cache(int lines, Storage *lower, int delay)
Cache::~Cache() { delete this->data; }
-Response *Cache::write(Accessor accessor, signed int data, int address)
+Response Cache::write(Accessor accessor, signed int data, int address)
{
- return new Response();
+ return WAIT;
}
-Response *Cache::read(Accessor accessor, int address) { return nullptr; }
+Response Cache::read(Accessor accessor, int address) { return WAIT; }