diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-08 08:31:20 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2021-12-08 08:31:20 +0300 |
commit | c1279768a77d093e1747f4954c9c0a959feefdf0 (patch) | |
tree | 1def9c880322764b4fe090677dfb66cab0c380d9 /intern/guardedalloc | |
parent | cbcd74de226778a9da980c8c6081793452dd5cbc (diff) |
Cleanup: Clang-Tidy modernize-redundant-void-arg
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/intern/leak_detector.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/guardedalloc/intern/leak_detector.cc b/intern/guardedalloc/intern/leak_detector.cc index 03d54f2e776..d3a3449049d 100644 --- a/intern/guardedalloc/intern/leak_detector.cc +++ b/intern/guardedalloc/intern/leak_detector.cc @@ -65,7 +65,7 @@ class MemLeakPrinter { }; } // namespace -void MEM_init_memleak_detection(void) +void MEM_init_memleak_detection() { /** * This variable is constructed when this function is first called. This should happen as soon as @@ -84,7 +84,7 @@ void MEM_use_memleak_detection(bool enabled) ignore_memleak = !enabled; } -void MEM_enable_fail_on_memleak(void) +void MEM_enable_fail_on_memleak() { fail_on_memleak = true; } |