From f8276d22b6501e3d6164f9b26df94d2d57f597e5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 20 Dec 2025 15:13:55 +0000 Subject: Add a few no lint comments --- src/ingestor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ingestor.cpp') diff --git a/src/ingestor.cpp b/src/ingestor.cpp index 4f752d7..0c9ce4e 100644 --- a/src/ingestor.cpp +++ b/src/ingestor.cpp @@ -15,6 +15,7 @@ namespace DB { template<> void + // NOLINTNEXTLINE(readability-inconsistent-declaration-parameter-name) DB::Command::bindParam(unsigned int idx, const WebStat::Entity & entity) { bindParamI(idx, std::get<0>(entity)); @@ -26,6 +27,7 @@ namespace WebStat { Crc32Value crc32(const std::string_view value) { + // NOLINTNEXTLINE(cppcoreguidelines-pro-type-reinterpret-cast) - correct for crc32ing raw bytes return static_cast(::crc32(::crc32(0, Z_NULL, 0), reinterpret_cast(value.data()), static_cast(value.length()))); } -- cgit v1.2.3