From 6cf6acdd0ada4e85fc8ac8924ec3dc717a29d1b7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 10 Feb 2025 19:39:50 -0500 Subject: Remove pointless const qualifier --- .clang-tidy | 1 - include/chilbert/detail/operations.hpp | 2 +- 2 files changed, 1 insertion(+), 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 inline int -pop_count(const T field); +pop_count(T field); template<> inline int -- cgit v1.2.1