Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed Feb 7, 2024
1 parent 0729461 commit 8079ca0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions toxcore/util_test_util.hh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ constexpr Sort_Funcs sort_funcs()
T *vec = static_cast<T *>(arr);
return &vec[index];
},
[](const void *object, uint32_t size) -> void * {
return new T[size];
},
[](const void *object, uint32_t size) -> void * { return new T[size]; },
[](const void *object, void *arr, uint32_t size) {
T *vec = static_cast<T *>(arr);
delete[] vec;
Expand Down

0 comments on commit 8079ca0

Please sign in to comment.