Skip to content

Commit

Permalink
fixing warnings #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Mar 12, 2024
1 parent ed1a1c6 commit d88afdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/microsim/transportables/MSPModel_JuPedSim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ MSPModel_JuPedSim::initialize(const OptionsCont& oc) {
areaBoundary.pop_back();
}
const std::string type = StringTokenizer(poly->getShapeType(), ".").getVector()[1];
myAreas.push_back(AreaData{poly->getID(), type, areaBoundary, poly->getParametersMap(), 0});
myAreas.push_back({poly->getID(), type, areaBoundary, poly->getParametersMap(), 0});
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/netwrite/NWWriter_SUMO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ NWWriter_SUMO::writeNetwork(const OptionsCont& oc, NBNetBuilder& nb) {
}
device.lf();
}
} catch (const ProcessError& e) {
} catch (const ProcessError&) {
if (!device.removeSelf()) {
WRITE_ERROR(TLF("Could not remove output file '%' after error. File contents possibly invalid.", device.getFilename()));
}
Expand Down

0 comments on commit d88afdc

Please sign in to comment.