From 239b3ab10b460da34c490a7e06a21c984e21ffb6 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 26 Nov 2021 20:21:12 +0000 Subject: Enable all Jason Turner recommended warnings --- game/vehicles/railVehicleClass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'game/vehicles') diff --git a/game/vehicles/railVehicleClass.cpp b/game/vehicles/railVehicleClass.cpp index 52b7dbe..406f2d8 100644 --- a/game/vehicles/railVehicleClass.cpp +++ b/game/vehicles/railVehicleClass.cpp @@ -57,7 +57,7 @@ RailVehicleClass::bogieOffset(ObjParser & o) if (!object.first.starts_with("Bogie")) { continue; } - std::set> vertexIds; + std::set> vertexIds; for (const auto & face : object.second) { for (const auto & faceElement : face) { vertexIds.emplace(o.vertices[faceElement.x - 1].y, faceElement.x - 1); -- cgit v1.2.3