summaryrefslogtreecommitdiff
path: root/src/std/containers/darray.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-19 14:33:34 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-19 14:33:34 +1000
commit82515f9d90ac149984013f0d64c1cab37b349b29 (patch)
tree6da445874d055e3e66ab1825d4aa3bb784955fc9 /src/std/containers/darray.h
parent5359c011a08ef2e06ed54104cc16c32868ca88ff (diff)
chore clang format + tidy
Diffstat (limited to 'src/std/containers/darray.h')
-rw-r--r--src/std/containers/darray.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/std/containers/darray.h b/src/std/containers/darray.h
index b3dbd06..ebb5795 100644
--- a/src/std/containers/darray.h
+++ b/src/std/containers/darray.h
@@ -86,7 +86,7 @@
size_t new_capacity = \
d->capacity > 0 ? d->capacity * DARRAY_RESIZE_FACTOR : DARRAY_DEFAULT_CAPACITY; \
T *resized = Type##_darray_resize(d, new_capacity); \
- (void)resized; \
+ (void)resized; \
} \
\
d->data[d->len] = value; \
@@ -98,7 +98,7 @@
size_t new_capacity = \
d->capacity > 0 ? d->capacity * DARRAY_RESIZE_FACTOR : DARRAY_DEFAULT_CAPACITY; \
T *resized = Type##_darray_resize(d, new_capacity); \
- (void)resized; \
+ (void)resized; \
} \
\
T *place = d->data + d->len; \
@@ -118,7 +118,7 @@
size_t new_capacity = \
d->capacity > 0 ? d->capacity * DARRAY_RESIZE_FACTOR : DARRAY_DEFAULT_CAPACITY; \
T *resized = Type##_darray_resize(d, new_capacity); \
- (void)resized; \
+ (void)resized; \
} \
\
/* shift existing data after index */ \