diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-05 21:37:11 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-05 21:37:11 +0100 |
commit | fdcef73a68858e7f0f07c14eb3ed9876d0248b90 (patch) | |
tree | b1f8154e0ae6d940c21d3fe1e22dc9593e016605 /lib/output | |
parent | Simplify PQ end upload (diff) | |
download | mygrate-fdcef73a68858e7f0f07c14eb3ed9876d0248b90.tar.bz2 mygrate-fdcef73a68858e7f0f07c14eb3ed9876d0248b90.tar.xz mygrate-fdcef73a68858e7f0f07c14eb3ed9876d0248b90.zip |
Supress bad cppcheck suggestion
Diffstat (limited to 'lib/output')
-rw-r--r-- | lib/output/pq/typeMapper.cpp | 1 |
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; } |