summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-12-20 15:13:55 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-12-20 15:13:55 +0000
commitf8276d22b6501e3d6164f9b26df94d2d57f597e5 (patch)
treeac6aa4594b6bf7c58bbead707a0f1fd34aec56d2
parent4a640858b83120bee217d91339f7bc39175989c1 (diff)
downloadwebstat-f8276d22b6501e3d6164f9b26df94d2d57f597e5.tar.bz2
webstat-f8276d22b6501e3d6164f9b26df94d2d57f597e5.tar.xz
webstat-f8276d22b6501e3d6164f9b26df94d2d57f597e5.zip
Add a few no lint comments
-rw-r--r--src/ingestor.cpp2
1 files changed, 2 insertions, 0 deletions
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<Crc32Value>(::crc32(::crc32(0, Z_NULL, 0), reinterpret_cast<const Bytef *>(value.data()),
static_cast<uInt>(value.length())));
}