diff options
-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 |