Skip to content

Commit

Permalink
Fixed warnings. Refs #12 and #14175
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Dec 22, 2023
1 parent 2add68f commit 079423a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/netedit/GNEViewNet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@ GNEViewNet::checkSelectEdges() const {
}


long
bool
GNEViewNet::getDrawingToggle() const {
return myDrawingToggle;
}
Expand Down
4 changes: 2 additions & 2 deletions src/netedit/GNEViewNet.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class GNEViewNet : public GUISUMOAbstractView {
std::vector<std::string> getRelDataAttrs() const;

/// @brief get draw toggle (used to avoid drawing junctions twice)
long getDrawingToggle() const;
bool getDrawingToggle() const;

/// @brief check if select edges (toggle using button or shift)
bool checkSelectEdges() const;
Expand Down Expand Up @@ -724,7 +724,7 @@ class GNEViewNet : public GUISUMOAbstractView {
bool myCreatedPopup = false;

/// @brief drawin toggle (used in drawGLElements to avoid draw elements twice)
long myDrawingToggle = 0;
bool myDrawingToggle = false;

/// @brief create edit mode buttons and elements
void buildEditModeControls();
Expand Down

0 comments on commit 079423a

Please sign in to comment.