aboutsummaryrefslogtreecommitdiff
path: root/src/timings.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2018-02-25 19:23:52 +0000
committergingerBill <bill@gingerbill.org>2018-02-25 19:23:52 +0000
commitd63885a495d2314a5ef76337605a9ebeefb26218 (patch)
treea47a575251d0be0020e3120e970e71ba55d3a651 /src/timings.cpp
parentf28a34fa99d68ce54c76272385ff9c172cc2ae59 (diff)
`array_make`
Diffstat (limited to 'src/timings.cpp')
-rw-r--r--src/timings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timings.cpp b/src/timings.cpp
index a5d6296a7..14d41d9dd 100644
--- a/src/timings.cpp
+++ b/src/timings.cpp
@@ -84,7 +84,7 @@ TimeStamp make_time_stamp(String label) {
}
void timings_init(Timings *t, String label, isize buffer_size) {
- array_init(&t->sections, heap_allocator(), buffer_size);
+ array_init(&t->sections, heap_allocator(), 0, buffer_size);
t->total = make_time_stamp(label);
t->freq = time_stamp__freq();
}