diff options
Diffstat (limited to 'src/array.cpp')
| -rw-r--r-- | src/array.cpp | 6 |
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"); |