From 5cb9bad2fadd9bfb591efabd630a07e65f4b4cb3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 16 Sep 2022 21:23:13 -0400 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 fd24a1a..58b793d 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -20,7 +20,6 @@ Checks: > -google-runtime-references, -llvmlibc-*, -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 ed9dfac..04d2689 100644 --- a/include/chilbert/detail/operations.hpp +++ b/include/chilbert/detail/operations.hpp @@ -122,7 +122,7 @@ pop_count(const unsigned long long& field) /// Return 1 + the index of the least significant 1-bit of `field`, or zero template inline int -find_first(const T field); +find_first(T field); template<> inline int -- cgit v1.2.1