From 17c7bac4052e1b5061d0cfdee5096d5e30837cc2 Mon Sep 17 00:00:00 2001 From: Aaron Carlisle Date: Sun, 9 Jan 2022 18:24:48 -0500 Subject: Cleanup: redundent semicolons after function braces --- source/blender/nodes/function/nodes/legacy/node_fn_random_float.cc | 2 +- source/blender/nodes/function/nodes/node_fn_boolean_math.cc | 2 +- source/blender/nodes/function/nodes/node_fn_compare.cc | 2 +- source/blender/nodes/function/nodes/node_fn_float_to_int.cc | 2 +- source/blender/nodes/function/nodes/node_fn_input_bool.cc | 2 +- source/blender/nodes/function/nodes/node_fn_input_color.cc | 2 +- source/blender/nodes/function/nodes/node_fn_input_int.cc | 2 +- source/blender/nodes/function/nodes/node_fn_input_special_characters.cc | 2 +- source/blender/nodes/function/nodes/node_fn_input_string.cc | 2 +- source/blender/nodes/function/nodes/node_fn_input_vector.cc | 2 +- source/blender/nodes/function/nodes/node_fn_replace_string.cc | 2 +- source/blender/nodes/function/nodes/node_fn_rotate_euler.cc | 2 +- source/blender/nodes/function/nodes/node_fn_slice_string.cc | 2 +- source/blender/nodes/function/nodes/node_fn_string_length.cc | 2 +- source/blender/nodes/function/nodes/node_fn_value_to_string.cc | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) (limited to 'source/blender/nodes/function') diff --git a/source/blender/nodes/function/nodes/legacy/node_fn_random_float.cc b/source/blender/nodes/function/nodes/legacy/node_fn_random_float.cc index 582e6748a1e..9470b82a8eb 100644 --- a/source/blender/nodes/function/nodes/legacy/node_fn_random_float.cc +++ b/source/blender/nodes/function/nodes/legacy/node_fn_random_float.cc @@ -27,7 +27,7 @@ static void fn_node_legacy_random_float_declare(NodeDeclarationBuilder &b) b.add_input(N_("Max")).default_value(1.0f).min(-10000.0f).max(10000.0f); b.add_input(N_("Seed")).min(-10000).max(10000); b.add_output(N_("Value")); -}; +} class RandomFloatFunction : public blender::fn::MultiFunction { public: diff --git a/source/blender/nodes/function/nodes/node_fn_boolean_math.cc b/source/blender/nodes/function/nodes/node_fn_boolean_math.cc index e8c05defe7c..cd05f07d392 100644 --- a/source/blender/nodes/function/nodes/node_fn_boolean_math.cc +++ b/source/blender/nodes/function/nodes/node_fn_boolean_math.cc @@ -32,7 +32,7 @@ static void fn_node_boolean_math_declare(NodeDeclarationBuilder &b) b.add_input(N_("Boolean"), "Boolean"); b.add_input(N_("Boolean"), "Boolean_001"); b.add_output(N_("Boolean")); -}; +} static void fn_node_boolean_math_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { diff --git a/source/blender/nodes/function/nodes/node_fn_compare.cc b/source/blender/nodes/function/nodes/node_fn_compare.cc index 28a6093e849..3bb46511eeb 100644 --- a/source/blender/nodes/function/nodes/node_fn_compare.cc +++ b/source/blender/nodes/function/nodes/node_fn_compare.cc @@ -55,7 +55,7 @@ static void fn_node_compare_declare(NodeDeclarationBuilder &b) b.add_input(N_("Epsilon")).default_value(0.001).min(-10000.0f).max(10000.0f); b.add_output(N_("Result")); -}; +} static void geo_node_compare_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { diff --git a/source/blender/nodes/function/nodes/node_fn_float_to_int.cc b/source/blender/nodes/function/nodes/node_fn_float_to_int.cc index 1a130e748d5..488787980dc 100644 --- a/source/blender/nodes/function/nodes/node_fn_float_to_int.cc +++ b/source/blender/nodes/function/nodes/node_fn_float_to_int.cc @@ -32,7 +32,7 @@ static void fn_node_float_to_int_declare(NodeDeclarationBuilder &b) b.is_function_node(); b.add_input(N_("Float")); b.add_output(N_("Integer")); -}; +} static void fn_node_float_to_int_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { diff --git a/source/blender/nodes/function/nodes/node_fn_input_bool.cc b/source/blender/nodes/function/nodes/node_fn_input_bool.cc index b6f7c802cc9..583570effd9 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_bool.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_bool.cc @@ -26,7 +26,7 @@ namespace blender::nodes::node_fn_input_bool_cc { static void fn_node_input_bool_declare(NodeDeclarationBuilder &b) { b.add_output(N_("Boolean")); -}; +} static void fn_node_input_bool_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { diff --git a/source/blender/nodes/function/nodes/node_fn_input_color.cc b/source/blender/nodes/function/nodes/node_fn_input_color.cc index 5ace57810e1..1fad5b2f5f4 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_color.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_color.cc @@ -24,7 +24,7 @@ namespace blender::nodes::node_fn_input_color_cc { static void fn_node_input_color_declare(NodeDeclarationBuilder &b) { b.add_output(N_("Color")); -}; +} static void fn_node_input_color_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { diff --git a/source/blender/nodes/function/nodes/node_fn_input_int.cc b/source/blender/nodes/function/nodes/node_fn_input_int.cc index d96339ae365..dc30ecb253c 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_int.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_int.cc @@ -26,7 +26,7 @@ namespace blender::nodes::node_fn_input_int_cc { static void fn_node_input_int_declare(NodeDeclarationBuilder &b) { b.add_output(N_("Integer")); -}; +} static void fn_node_input_int_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { diff --git a/source/blender/nodes/function/nodes/node_fn_input_special_characters.cc b/source/blender/nodes/function/nodes/node_fn_input_special_characters.cc index 8137b424143..681bc16a301 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_special_characters.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_special_characters.cc @@ -22,7 +22,7 @@ static void fn_node_input_special_characters_declare(NodeDeclarationBuilder &b) { b.add_output(N_("Line Break")); b.add_output(N_("Tab")); -}; +} class MF_SpecialCharacters : public fn::MultiFunction { public: diff --git a/source/blender/nodes/function/nodes/node_fn_input_string.cc b/source/blender/nodes/function/nodes/node_fn_input_string.cc index a326caf50bd..4abb352d802 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_string.cc @@ -25,7 +25,7 @@ static void fn_node_input_string_declare(NodeDeclarationBuilder &b) { b.is_function_node(); b.add_output(N_("String")); -}; +} static void fn_node_input_string_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { diff --git a/source/blender/nodes/function/nodes/node_fn_input_vector.cc b/source/blender/nodes/function/nodes/node_fn_input_vector.cc index 34515c4414c..ba9600b461c 100644 --- a/source/blender/nodes/function/nodes/node_fn_input_vector.cc +++ b/source/blender/nodes/function/nodes/node_fn_input_vector.cc @@ -26,7 +26,7 @@ namespace blender::nodes::node_fn_input_vector_cc { static void fn_node_input_vector_declare(NodeDeclarationBuilder &b) { b.add_output(N_("Vector")); -}; +} static void fn_node_input_vector_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) { diff --git a/source/blender/nodes/function/nodes/node_fn_replace_string.cc b/source/blender/nodes/function/nodes/node_fn_replace_string.cc index 243cb63d713..afe516a5214 100644 --- a/source/blender/nodes/function/nodes/node_fn_replace_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_replace_string.cc @@ -27,7 +27,7 @@ static void fn_node_replace_string_declare(NodeDeclarationBuilder &b) b.add_input(N_("Replace")) .description(N_("The string to replace each match with")); b.add_output(N_("String")); -}; +} static std::string replace_all(std::string str, const std::string &from, const std::string &to) { diff --git a/source/blender/nodes/function/nodes/node_fn_rotate_euler.cc b/source/blender/nodes/function/nodes/node_fn_rotate_euler.cc index 582a9bb10a8..3140aeac975 100644 --- a/source/blender/nodes/function/nodes/node_fn_rotate_euler.cc +++ b/source/blender/nodes/function/nodes/node_fn_rotate_euler.cc @@ -34,7 +34,7 @@ static void fn_node_rotate_euler_declare(NodeDeclarationBuilder &b) b.add_input(N_("Axis")).default_value({0.0, 0.0, 1.0}).subtype(PROP_XYZ); b.add_input(N_("Angle")).subtype(PROP_ANGLE); b.add_output(N_("Rotation")); -}; +} static void fn_node_rotate_euler_update(bNodeTree *ntree, bNode *node) { diff --git a/source/blender/nodes/function/nodes/node_fn_slice_string.cc b/source/blender/nodes/function/nodes/node_fn_slice_string.cc index f9d0af5ba9b..4055495ec1f 100644 --- a/source/blender/nodes/function/nodes/node_fn_slice_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_slice_string.cc @@ -26,7 +26,7 @@ static void fn_node_slice_string_declare(NodeDeclarationBuilder &b) b.add_input(N_("Position")); b.add_input(N_("Length")).min(0).default_value(10); b.add_output(N_("String")); -}; +} static void fn_node_slice_string_build_multi_function(NodeMultiFunctionBuilder &builder) { diff --git a/source/blender/nodes/function/nodes/node_fn_string_length.cc b/source/blender/nodes/function/nodes/node_fn_string_length.cc index 8ab56812125..bed434c8f2c 100644 --- a/source/blender/nodes/function/nodes/node_fn_string_length.cc +++ b/source/blender/nodes/function/nodes/node_fn_string_length.cc @@ -26,7 +26,7 @@ static void fn_node_string_length_declare(NodeDeclarationBuilder &b) { b.add_input(N_("String")); b.add_output(N_("Length")); -}; +} static void fn_node_string_length_build_multi_function(NodeMultiFunctionBuilder &builder) { diff --git a/source/blender/nodes/function/nodes/node_fn_value_to_string.cc b/source/blender/nodes/function/nodes/node_fn_value_to_string.cc index 235c612dc15..ee0613de9bd 100644 --- a/source/blender/nodes/function/nodes/node_fn_value_to_string.cc +++ b/source/blender/nodes/function/nodes/node_fn_value_to_string.cc @@ -24,7 +24,7 @@ static void fn_node_value_to_string_declare(NodeDeclarationBuilder &b) b.add_input(N_("Value")); b.add_input(N_("Decimals")).min(0); b.add_output(N_("String")); -}; +} static void fn_node_value_to_string_build_multi_function(NodeMultiFunctionBuilder &builder) { -- cgit v1.2.3