diff options
author | Sergey Sharybin <sergey@blender.org> | 2020-11-06 15:18:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2020-11-06 15:40:46 +0300 |
commit | a331d5c99299c4514ca33c843b1c79b872f2728d (patch) | |
tree | b866b7f4b272365bf32f2cb248917932672b82d5 /source/blender/depsgraph/intern | |
parent | 41db8f2fce1763c312a7fa47ed3aa338e6d77124 (diff) |
Cleanup: Clang-Tidy, modernize-redundant-void-arg
Diffstat (limited to 'source/blender/depsgraph/intern')
-rw-r--r-- | source/blender/depsgraph/intern/debug/deg_debug.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/debug/deg_debug.cc b/source/blender/depsgraph/intern/debug/deg_debug.cc index ab6adea6416..b7310f3713e 100644 --- a/source/blender/depsgraph/intern/debug/deg_debug.cc +++ b/source/blender/depsgraph/intern/debug/deg_debug.cc @@ -73,7 +73,7 @@ void DepsgraphDebug::end_graph_evaluation() is_ever_evaluated = true; } -bool terminal_do_color(void) +bool terminal_do_color() { return (G.debug & G_DEBUG_DEPSGRAPH_PRETTY) != 0; } @@ -90,7 +90,7 @@ string color_for_pointer(const void *pointer) return string(buffer); } -string color_end(void) +string color_end() { if (!terminal_do_color()) { return ""; |