Skip to content

Commit

Permalink
ClangTidy: included header cmath is not used directly (libjxl#3850)
Browse files Browse the repository at this point in the history
* lint: included header cmath is not used directly

* put it in cc

(cherry picked from commit 4b9dbde)
  • Loading branch information
mo271 committed Nov 26, 2024
1 parent b6aad5a commit 672dd4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/jxl/loop_filter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

#include "lib/jxl/loop_filter.h"

#include <cmath>

#include "lib/jxl/base/status.h"
#include "lib/jxl/fields.h"

Expand Down
1 change: 0 additions & 1 deletion lib/jxl/loop_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

// Parameters for loop filter(s), stored in each frame.

#include <cmath>
#include <cstddef>
#include <cstdint>

Expand Down

0 comments on commit 672dd4a

Please sign in to comment.