From 20fe698a4074df4abe02f14a1a14481770e90abc Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 6 Mar 2025 00:03:00 -0500 Subject: Storage.view method, some initial tests --- inc/storage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/storage.h') diff --git a/inc/storage.h b/inc/storage.h index 1e512e2..5ad4f99 100644 --- a/inc/storage.h +++ b/inc/storage.h @@ -37,13 +37,13 @@ class Storage * @return A matrix of data values, where each row is a line and each column * is a word. */ - virtual int **view(int base, int lines) = 0; + std::vector> view(int base, int lines); protected: /** * The data currently stored in this level of storage. */ - std::vector> *data; + std::vector> *data; /** * A pointer to the next lowest level of storage. * Used in case of cache misses. -- cgit v1.2.3