Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
hnwyllmm committed Nov 17, 2023
1 parent 731df30 commit c2ab77e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deps/common/mm/debug_new.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ void operator delete[](void *); // MSVC 6 requires this declaration

#define malloc(s) ((void *)(debug_new char[s]))

#define free(p) delete[] (char *)(p)
#define free(p) delete[](char *)(p)

#endif // DEBUG_NEW_EMULATE_MALLOC

/* Control flags */
Expand Down

0 comments on commit c2ab77e

Please sign in to comment.