summaryrefslogtreecommitdiff
path: root/game/network
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-03-08 19:52:10 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-03-08 19:52:10 +0000
commitd5c1fadb36e80b3937e603bde897fef7a5f26433 (patch)
tree2e18062ae63af35bfb322c51938187d438d87671 /game/network
parentMove TickDuration type into global scope (diff)
downloadilt-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/network')
-rw-r--r--game/network/rail.cpp1
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;
}