summaryrefslogtreecommitdiff
path: root/src/storage/storage.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/storage.cc')
-rw-r--r--src/storage/storage.cc2
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);