diff options
author | David Robillard <d@drobilla.net> | 2022-09-16 21:23:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-09-16 22:31:06 -0400 |
commit | 5cb9bad2fadd9bfb591efabd630a07e65f4b4cb3 (patch) | |
tree | df97c89372fe158ca9709b5b3efaa1b79f5a50d3 | |
parent | 2e4d666eec1a372d4b64c527d6c4945ad98d2b58 (diff) | |
download | chilbert-5cb9bad2fadd9bfb591efabd630a07e65f4b4cb3.tar.gz chilbert-5cb9bad2fadd9bfb591efabd630a07e65f4b4cb3.tar.bz2 chilbert-5cb9bad2fadd9bfb591efabd630a07e65f4b4cb3.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 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<unsigned long long>(const unsigned long long& field) /// Return 1 + the index of the least significant 1-bit of `field`, or zero template<typename T> inline int -find_first(const T field); +find_first(T field); template<> inline int |