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 | 9009d358f7959b1dd60b77fea181be04ae190ef3 (patch) | |
| tree | bfd4d2a5303d15f625b4d945800c0c7c55a2bac7 /src/storage/storage.cc | |
| parent | cdcaec3c1e62b47fcd270df651cd0e343e46f0e7 (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); |
