Skip to content

Commit

Permalink
partial code style refactoring to fix warnings #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Feb 11, 2025
1 parent fbf1f97 commit 4dad6b8
Show file tree
Hide file tree
Showing 39 changed files with 39 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/netedit/GNEApplicationWindowHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// The main window of Netedit (adapted from GUIApplicationWindow)
/****************************************************************************/
#include <config.h>

#include <regex>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/dialogs/options/GNEOptionsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// A Dialog for setting options (see OptionsCont)
/****************************************************************************/
#include <config.h>

#include <algorithm>
#include <fstream>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/dialogs/options/GNEOptionsDialogElements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// A Dialog for setting options (see OptionsCont)
/****************************************************************************/
#include <config.h>

#include <netedit/GNEApplicationWindow.h>
#include <utils/common/MsgHandler.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEAccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEAdditional.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// A abstract class for representation of additional elements
/****************************************************************************/
#include <config.h>

#include <foreign/fontstash/fontstash.h>
#include <netedit/GNENet.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEAdditionalHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// Builds trigger objects for netedit
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEBusStop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
///
// A lane area vehicles can halt at (GNE version)
/****************************************************************************/
#include <config.h>

#include <foreign/fontstash/fontstash.h>
#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNECalibrator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// Calibrator over edge or lane
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNECalibratorFlow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEChargingStation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
///
// A class for visualizing chargingStation geometry (adapted from GUILaneWrapper)
/****************************************************************************/
#include <config.h>

#include <foreign/fontstash/fontstash.h>
#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEClosingLaneReroute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/changes/GNEChange_Attribute.h>
#include <netedit/GNENet.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEClosingReroute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/changes/GNEChange_Attribute.h>
#include <netedit/GNENet.h>
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEContainerStop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
///
// A lane area vehicles can halt at (GNE version)
/****************************************************************************/
#include <config.h>

#include <foreign/fontstash/fontstash.h>
#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEDestProbReroute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/changes/GNEChange_Attribute.h>
#include <netedit/GNENet.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEEntryExitDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNELaneAreaDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNESegment.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// multi entry-exit (E3) detector
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEOverheadWire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNESegment.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEPOI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// A class for visualizing and editing POIS in netedit (adapted from
// GUIPointOfInterest and NLHandler)
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEParkingArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// A lane area vehicles can park at (GNE version)
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEParkingAreaReroute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEParkingSpace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// A lane area vehicles can halt at (GNE version)
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEPoly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// A class for visualizing and editing POIS in netedit (adapted from
// GUIPolygon and NLHandler)
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNERerouter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNERerouterInterval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNERerouterSymbol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNEViewNet.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNERouteProbReroute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/changes/GNEChange_Attribute.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNERouteProbe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEStoppingPlace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
// A abstract class to define common parameters of lane area in which vehicles can halt (GNE version)
/****************************************************************************/
#include <config.h>

#include <foreign/fontstash/fontstash.h>
#include <netedit/GNENet.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNETAZ.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNEUndoList.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNETAZSourceSink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNETractionSubstation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEVaporizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
1 change: 1 addition & 0 deletions src/netedit/elements/additional/GNEVariableSpeedSign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNETagProperties.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNETagProperties.h>
#include <netedit/GNEUndoList.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
///
//
/****************************************************************************/
#include <config.h>

#include <netedit/GNENet.h>
#include <netedit/GNEViewNet.h>
Expand Down

0 comments on commit 4dad6b8

Please sign in to comment.