diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-14 11:11:27 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-05-14 13:51:45 +0200 |
commit | a1aaed5a84e5206032495ee3d7447847aa8c9515 (patch) | |
tree | 90aa672d8623d299282bf6f2bbb7216f6738cdf3 /main | |
parent | dcd1151d77cd5579bdd003a933bca86690ed4f58 (diff) |
Remove redundant void argument lists
Using clang-tidy's `modernize-redundant-void-arg`.
https://clang.llvm.org/extra/clang-tidy/checks/modernize-redundant-void-arg.html
Diffstat (limited to 'main')
-rw-r--r-- | main/tests/test_astar.cpp | 2 | ||||
-rw-r--r-- | main/tests/test_ordered_hash_map.cpp | 2 | ||||
-rw-r--r-- | main/tests/test_string.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/main/tests/test_astar.cpp b/main/tests/test_astar.cpp index 66f9aa8ad6..3cc754e230 100644 --- a/main/tests/test_astar.cpp +++ b/main/tests/test_astar.cpp @@ -352,7 +352,7 @@ bool test_solutions() { return true; } -typedef bool (*TestFunc)(void); +typedef bool (*TestFunc)(); TestFunc test_funcs[] = { test_abc, diff --git a/main/tests/test_ordered_hash_map.cpp b/main/tests/test_ordered_hash_map.cpp index 0720eebaf9..e909626243 100644 --- a/main/tests/test_ordered_hash_map.cpp +++ b/main/tests/test_ordered_hash_map.cpp @@ -130,7 +130,7 @@ bool test_const_iteration() { return test_const_iteration(map); } -typedef bool (*TestFunc)(void); +typedef bool (*TestFunc)(); TestFunc test_funcs[] = { diff --git a/main/tests/test_string.cpp b/main/tests/test_string.cpp index 34087c7204..76631f9eae 100644 --- a/main/tests/test_string.cpp +++ b/main/tests/test_string.cpp @@ -1129,7 +1129,7 @@ bool test_35() { return state; } -typedef bool (*TestFunc)(void); +typedef bool (*TestFunc)(); TestFunc test_funcs[] = { |