diff options
Diffstat (limited to 'src/libutil/charptr-cast.hh')
-rw-r--r-- | src/libutil/charptr-cast.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/charptr-cast.hh b/src/libutil/charptr-cast.hh index 990f2ec55..ec53d8924 100644 --- a/src/libutil/charptr-cast.hh +++ b/src/libutil/charptr-cast.hh @@ -134,6 +134,7 @@ template<typename To, typename From> requires charptr_cast_detail::IsCharCastable<From, To> inline To charptr_cast(From p) { + // NOLINTNEXTLINE(lix-charptrcast): stop the linter ever getting too clever and causing funny recursion return reinterpret_cast<To>(p); } |