Skip to content

Commit

Permalink
fixing type. refs #12335
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Apr 2, 2024
1 parent 49205a5 commit b26fb65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/libsumo/Edge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ Edge::setDisallowed(const std::string& edgeID, std::vector<std::string> disallow


void
Edge::setAllowedSVCPermissions(const std::string& edgeID, int permissions) {
Edge::setAllowedSVCPermissions(const std::string& edgeID, long long int permissions) {
MSEdge* e = getEdge(edgeID);
for (MSLane* lane : e->getLanes()) {
lane->setPermissions(permissions, MSLane::CHANGE_PERMISSIONS_PERMANENT);
Expand Down
2 changes: 1 addition & 1 deletion src/libsumo/Edge.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Edge {
static bool handleVariable(const std::string& objID, const int variable, VariableWrapper* wrapper, tcpip::Storage* paramData);

private:
static void setAllowedSVCPermissions(const std::string& edgeID, int permissions);
static void setAllowedSVCPermissions(const std::string& edgeID, long long int permissions);

static MSEdge* getEdge(const std::string& edgeID);

Expand Down

0 comments on commit b26fb65

Please sign in to comment.