aboutsummaryrefslogtreecommitdiff
path: root/src/array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/array.cpp')
-rw-r--r--src/array.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/array.cpp b/src/array.cpp
index 825fdc51e..0f0f3c7de 100644
--- a/src/array.cpp
+++ b/src/array.cpp
@@ -3,9 +3,9 @@
template <typename T>
struct Array {
gbAllocator allocator;
- T *data;
- isize count;
- isize capacity;
+ T * data;
+ isize count;
+ isize capacity;
T &operator[](isize index) {
GB_ASSERT_MSG(0 <= index && index < count, "Index out of bounds");