diff options
author | David Robillard <d@drobilla.net> | 2025-02-10 19:39:50 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2025-02-10 19:48:25 -0500 |
commit | 6cf6acdd0ada4e85fc8ac8924ec3dc717a29d1b7 (patch) | |
tree | 7fa329dfc992b62733835d778c1c4462f2673d00 | |
parent | d466d59fab9086bafeb8c5d3208580a639b6bdbf (diff) | |
download | chilbert-6cf6acdd0ada4e85fc8ac8924ec3dc717a29d1b7.tar.gz chilbert-6cf6acdd0ada4e85fc8ac8924ec3dc717a29d1b7.tar.bz2 chilbert-6cf6acdd0ada4e85fc8ac8924ec3dc717a29d1b7.zip |
Remove pointless const qualifier
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | include/chilbert/detail/operations.hpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.clang-tidy b/.clang-tidy index 64946df..1eeee22 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -23,7 +23,6 @@ Checks: > -llvmlibc-*, -misc-include-cleaner, -modernize-use-trailing-return-type, - -readability-avoid-const-params-in-decls, -readability-convert-member-functions-to-static, -readability-identifier-length, -readability-implicit-bool-conversion, diff --git a/include/chilbert/detail/operations.hpp b/include/chilbert/detail/operations.hpp index 5dd59db..b7aff09 100644 --- a/include/chilbert/detail/operations.hpp +++ b/include/chilbert/detail/operations.hpp @@ -110,7 +110,7 @@ pop_count(const uint64_t field) /// Return 1 + the index of the least significant 1-bit of `field`, or zero template<typename T> inline int -pop_count(const T field); +pop_count(T field); template<> inline int |