aboutsummaryrefslogtreecommitdiff
path: root/src/ptr_set.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2017-12-12 18:21:40 +0000
committergingerBill <bill@gingerbill.org>2017-12-12 18:21:40 +0000
commitf7e9649be466ea03f556e2918063c5a4d0d28e2e (patch)
tree254ccca62132e5fae8af7bbf03ffe7fc5b75f0a4 /src/ptr_set.cpp
parentfd1f6ec75cf7e26e2e87f84885e4166cd25cf376 (diff)
Disable struct field reordering (for the time being)
Diffstat (limited to 'src/ptr_set.cpp')
-rw-r--r--src/ptr_set.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ptr_set.cpp b/src/ptr_set.cpp
index ac055f41d..d16002b3e 100644
--- a/src/ptr_set.cpp
+++ b/src/ptr_set.cpp
@@ -30,14 +30,12 @@ template <typename T> void ptr_set_rehash (PtrSet<T> *s, isize new_cou
template <typename T>
void ptr_set_init(PtrSet<T> *s, gbAllocator a, isize capacity) {
array_init(&s->hashes, a, capacity);
- array_init(&s->entries, a, capacity);
-}
+ array_init(&s->entries, a, capacity);}
template <typename T>
void ptr_set_destroy(PtrSet<T> *s) {
array_free(&s->hashes);
- array_free(&s->entries);
-}
+ array_free(&s->entries);}
template <typename T>
gb_internal isize ptr_set__add_entry(PtrSet<T> *s, T ptr) {