diff options
author | bd <bdunahu@operationnull.com> | 2025-03-06 00:03:00 -0500 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-06 00:03:00 -0500 |
commit | 20fe698a4074df4abe02f14a1a14481770e90abc (patch) | |
tree | e1d14c2ea93c1a4e6d87f007575e744a472147e0 /inc/storage.h | |
parent | e296a3a6ab782cb80b7091324b41bb78db6d3906 (diff) |
Storage.view method, some initial tests
Diffstat (limited to 'inc/storage.h')
-rw-r--r-- | inc/storage.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<std::array<signed int, 4>> view(int base, int lines); protected: /** * The data currently stored in this level of storage. */ - std::vector<std::array<unsigned int, 4>> *data; + std::vector<std::array<signed int, 4>> *data; /** * A pointer to the next lowest level of storage. * Used in case of cache misses. |