summaryrefslogtreecommitdiff
path: root/lib/output/pq
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-07-05 21:37:11 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-07-05 21:37:11 +0100
commitfdcef73a68858e7f0f07c14eb3ed9876d0248b90 (patch)
treeb1f8154e0ae6d940c21d3fe1e22dc9593e016605 /lib/output/pq
parentSimplify PQ end upload (diff)
downloadmygrate-fdcef73a68858e7f0f07c14eb3ed9876d0248b90.tar.bz2
mygrate-fdcef73a68858e7f0f07c14eb3ed9876d0248b90.tar.xz
mygrate-fdcef73a68858e7f0f07c14eb3ed9876d0248b90.zip
Supress bad cppcheck suggestion
Diffstat (limited to 'lib/output/pq')
-rw-r--r--lib/output/pq/typeMapper.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}