Fixed over 500 compile warnings. Mostly:
* Unused variables. * Missing newlines at ends of #included files. * signed int loop variables where the termination condition is an unsigned 'get number of' function. * 'NULL' used inappropriately for an integer or character constant (NULL is a pointer) * abstract base classes with no virtual destructor. * Floating point constants used to initialise integer variables.
This commit is contained in:
@@ -29,6 +29,7 @@ class SimulationIslandManager
|
||||
|
||||
public:
|
||||
SimulationIslandManager();
|
||||
virtual ~SimulationIslandManager();
|
||||
|
||||
|
||||
void InitUnionFind(int n);
|
||||
@@ -56,3 +57,4 @@ public:
|
||||
};
|
||||
|
||||
#endif //SIMULATION_ISLAND_MANAGER_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user