aboutsummaryrefslogtreecommitdiff
path: root/src/array.cpp
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-11-06 21:22:05 +0000
committerGinger Bill <bill@gingerbill.org>2016-11-06 21:22:05 +0000
commit7ba0f259433a03ca930dfb55e1927ce1a0c06cf2 (patch)
treea2a3c78ec47c25b6f880fddccca266f2b791638c /src/array.cpp
parent6c2772d09338f044096240eeb01aa09d11ddda59 (diff)
Separate SSA opt; Basic Timings for sections only
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");