From 71fd8983afe3ea332193e175cf7c453d78d6ed29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org>
Date: Wed, 25 Aug 2021 08:09:36 +0200
Subject: [PATCH] MAINT: nolint and todo

---
 src/caosdb/entity.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/caosdb/entity.cpp b/src/caosdb/entity.cpp
index fa96ba8..017aac5 100644
--- a/src/caosdb/entity.cpp
+++ b/src/caosdb/entity.cpp
@@ -272,7 +272,8 @@ auto Entity::FixValue() -> void { FixValueImpl(this); }
 
 // Utility functions //////////////////////////////////////////////////////////
 
-template <typename E> auto FixValueImpl(E *ent) -> void {
+// TODO(daniel) cognitive complexity is too high
+template <typename E> auto FixValueImpl(E *ent) -> void { //NOLINT
   const auto &dtype = ent->GetDataType();
   const auto &value = ent->GetValue();
   auto new_value = Value();
-- 
GitLab