[ci] Bump clang-tidy from 18.1.8 to 22.1.0.1 (#16078)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
14910e65d9
commit
53b682e48f
18 files changed
+63
-24
No files matched your search
@@ -663,8 +663,8 @@ float gamma_uncorrect(float value, float gamma) {
|
||||
}
|
||||
|
||||
void rgb_to_hsv(float red, float green, float blue, int &hue, float &saturation, float &value) {
|
||||
float max_color_value = std::max(std::max(red, green), blue);
|
||||
float min_color_value = std::min(std::min(red, green), blue);
|
||||
float max_color_value = std::max({red, green, blue});
|
||||
float min_color_value = std::min({red, green, blue});
|
||||
float delta = max_color_value - min_color_value;
|
||||
|
||||
if (delta == 0) {
|
||||
|
||||
Reference in new issue
Block a user