Skip to content

Commit

Permalink
deactivate regularly used assert condition ref #12
Browse files Browse the repository at this point in the history
Signed-off-by: m-kro <m.barthauer@t-online.de>
  • Loading branch information
m-kro committed Apr 15, 2024
1 parent bfe95c0 commit e6d38b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guisim/GUINet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ GUINet::vehicleExists(const std::string& name) const {
int
GUINet::getLinkTLID(const MSLink* const link) const {
if (myLinks2Logic.count(link) == 0) {
assert(false);
//assert(false);
return 0;
}
MSTrafficLightLogic* tll = myLogics->getActive(myLinks2Logic.find(link)->second);
Expand Down

0 comments on commit e6d38b5

Please sign in to comment.