From d5c1fadb36e80b3937e603bde897fef7a5f26433 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 8 Mar 2021 19:52:10 +0000 Subject: Shut up cppcheck, an STL implementation of that would be stupid --- game/network/rail.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'game/network/rail.cpp') 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; } -- cgit v1.2.3