summaryrefslogtreecommitdiff
path: root/src/common.cc
diff options
context:
space:
mode:
authorFabrice <fabrice@schaub-dev.xyz>2026-03-01 19:10:38 +0100
committerFabrice <fabrice@schaub-dev.xyz>2026-03-01 19:10:38 +0100
commitc638003e8aa684bae60e8b3736c6d9db8571e727 (patch)
treed33a696829fdccd8b9b870a0f8553c40f123b168 /src/common.cc
parent62ace5068979d4956abd2897e27eb5e078ac95dc (diff)
fix build
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;