diff options
author | dergoegge <n.goeggi@gmail.com> | 2024-03-21 11:35:11 +0000 |
---|---|---|
committer | dergoegge <n.goeggi@gmail.com> | 2024-04-07 14:04:45 +0100 |
commit | 78407b99ed6dd17f687fcbfb0486ecc433302287 (patch) | |
tree | 61eca950e0d5b18ee4a8616ef913cf9ba3613746 /src/util | |
parent | f0794cbd405636a7f528a60f2873050b865cf7e8 (diff) |
[clang-tidy] Enable the misc-no-recursion check
Co-authored-by: stickies-v <stickies-v@protonmail.com>
Co-authored-by: Gloria Zhao <gloriajzhao@gmail.com>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/string.h b/src/util/string.h index 8b69d6ccae..dab92942fb 100644 --- a/src/util/string.h +++ b/src/util/string.h @@ -65,6 +65,7 @@ void ReplaceAll(std::string& in_out, const std::string& search, const std::strin * @param unary_op Apply this operator to each item */ template <typename C, typename S, typename UnaryOp> +// NOLINTNEXTLINE(misc-no-recursion) auto Join(const C& container, const S& separator, UnaryOp unary_op) { decltype(unary_op(*container.begin())) ret; |