diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-26 20:21:12 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-26 20:21:12 +0000 |
commit | 239b3ab10b460da34c490a7e06a21c984e21ffb6 (patch) | |
tree | 4ce09f5d091ffbcf063a9d0fc076659dfe9e3142 /game/vehicles | |
parent | Don't run the app by default (diff) | |
download | ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.tar.bz2 ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.tar.xz ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.zip |
Enable all Jason Turner recommended warnings
Diffstat (limited to 'game/vehicles')
-rw-r--r-- | game/vehicles/railVehicleClass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::pair<float, int>> vertexIds; + std::set<std::pair<float, std::size_t>> vertexIds; for (const auto & face : object.second) { for (const auto & faceElement : face) { vertexIds.emplace(o.vertices[faceElement.x - 1].y, faceElement.x - 1); |