summaryrefslogtreecommitdiff
path: root/src/common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.cc')
-rw-r--r--src/common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.cc b/src/common.cc
index 2099e24..aa734b3 100644
--- a/src/common.cc
+++ b/src/common.cc
@@ -25,7 +25,7 @@ struct Slice {
T* ptr;
usize length;
- slice(T* ptr, usize length) : ptr(ptr), length(length) {}
+ Slice(T* ptr, usize length) : ptr(ptr), length(length) {}
T* operator[](usize index) {
return ptr + index;