diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-08 19:52:10 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-03-08 19:52:10 +0000 |
commit | d5c1fadb36e80b3937e603bde897fef7a5f26433 (patch) | |
tree | 2e18062ae63af35bfb322c51938187d438d87671 /game | |
parent | Move TickDuration type into global scope (diff) | |
download | ilt-d5c1fadb36e80b3937e603bde897fef7a5f26433.tar.bz2 ilt-d5c1fadb36e80b3937e603bde897fef7a5f26433.tar.xz ilt-d5c1fadb36e80b3937e603bde897fef7a5f26433.zip |
Shut up cppcheck, an STL implementation of that would be stupid
Diffstat (limited to 'game')
-rw-r--r-- | game/network/rail.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/game/network/rail.cpp b/game/network/rail.cpp index cc40070..c124a41 100644 --- a/game/network/rail.cpp +++ b/game/network/rail.cpp @@ -56,6 +56,7 @@ RailLinks::addLinksBetween(glm::vec3 start, glm::vec3 end) const auto findDir = [this](const auto & n) { for (const auto & l : links.objects) { for (const auto & e : l->ends) { + // cppcheck-suppress useStlAlgorithm if (e.first == n) { return e.second; } |