From cba90d630177ce6c57b5537e74ef3eab4e9c1ea2 Mon Sep 17 00:00:00 2001 From: George Marques Date: Sun, 28 Feb 2021 16:52:06 -0300 Subject: Update clang-format to version 11 This is taken from the Godot repository, so formatting is similar. This updates the style rules as well. Also fix style in files to conform with this version. --- include/core/Math.hpp | 1 - 1 file changed, 1 deletion(-) (limited to 'include/core/Math.hpp') diff --git a/include/core/Math.hpp b/include/core/Math.hpp index a971bb8..4cabe0d 100644 --- a/include/core/Math.hpp +++ b/include/core/Math.hpp @@ -232,7 +232,6 @@ inline double stepify(double p_value, double p_step) { } inline unsigned int next_power_of_2(unsigned int x) { - if (x == 0) return 0; -- cgit v1.2.3