From 9d3264b4fd04ee4a6b52e0f97de3fcd3a81c1a86 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Wed, 29 Dec 2021 18:51:10 -0500 Subject: Cleanup: clang-tidy modernize-redundant-void-arg --- source/blender/blenlib/intern/mesh_intersect.cc | 4 ++-- source/blender/blenlib/intern/task_graph.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/blenlib/intern') diff --git a/source/blender/blenlib/intern/mesh_intersect.cc b/source/blender/blenlib/intern/mesh_intersect.cc index ab1db3f1fda..1f150137ba3 100644 --- a/source/blender/blenlib/intern/mesh_intersect.cc +++ b/source/blender/blenlib/intern/mesh_intersect.cc @@ -61,11 +61,11 @@ namespace blender::meshintersect { # ifdef PERFDEBUG -static void perfdata_init(void); +static void perfdata_init(); static void incperfcount(int countnum); static void bumpperfcount(int countnum, int amt); static void doperfmax(int maxnum, int val); -static void dump_perfdata(void); +static void dump_perfdata(); # endif /** For debugging, can disable threading in intersect code with this static constant. */ diff --git a/source/blender/blenlib/intern/task_graph.cc b/source/blender/blenlib/intern/task_graph.cc index ff7d0ecb4c4..d84857caeea 100644 --- a/source/blender/blenlib/intern/task_graph.cc +++ b/source/blender/blenlib/intern/task_graph.cc @@ -109,7 +109,7 @@ struct TaskNode { #endif }; -TaskGraph *BLI_task_graph_create(void) +TaskGraph *BLI_task_graph_create() { return new TaskGraph(); } -- cgit v1.2.3