From fdcef73a68858e7f0f07c14eb3ed9876d0248b90 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 5 Jul 2021 21:37:11 +0100 Subject: Supress bad cppcheck suggestion --- lib/output/pq/typeMapper.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/output') diff --git a/lib/output/pq/typeMapper.cpp b/lib/output/pq/typeMapper.cpp index 5583319..e49f707 100644 --- a/lib/output/pq/typeMapper.cpp +++ b/lib/output/pq/typeMapper.cpp @@ -58,6 +58,7 @@ namespace MyGrate::Output::Pq { TypeMapper::map(std::string_view t, std::string_view n) const { for (const auto & m : mappings) { + // cppcheck-suppress useStlAlgorithm; (returns value) if (const auto rt {m->map(t, n)}) { return *rt; } -- cgit v1.2.3