diff options
| author | bd <bdunahu@operationnull.com> | 2025-03-10 16:44:39 -0400 |
|---|---|---|
| committer | bd <bdunahu@operationnull.com> | 2025-03-10 16:44:39 -0400 |
| commit | 141494cb961b72a7ad56c3e754af43a07f1b8c23 (patch) | |
| tree | bfd4d2a5303d15f625b4d945800c0c7c55a2bac7 /src/storage/storage.cc | |
| parent | 486d18df5ca93e043fdd14fac1d22b5fe40fb6f6 (diff) | |
Add starter overloaded << operator for cache
Diffstat (limited to 'src/storage/storage.cc')
| -rw-r--r-- | src/storage/storage.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/storage.cc b/src/storage/storage.cc index 16ad63f..62f3699 100644 --- a/src/storage/storage.cc +++ b/src/storage/storage.cc @@ -3,7 +3,7 @@ #include <algorithm> std::vector<std::array<signed int, LINE_SIZE>> -Storage::view(int base, int lines) +Storage::view(int base, int lines) const { base = (base / LINE_SIZE) * LINE_SIZE; std::vector<std::array<signed int, LINE_SIZE>> ret(lines + 1); |
