Missing initializations
This commit is contained in:
parent
f2a3041ce7
commit
46afc9fb08
@ -23,7 +23,7 @@ or see http://www.gnu.org/licenses/agpl.txt.
|
|||||||
|
|
||||||
struct _GridEdge {
|
struct _GridEdge {
|
||||||
_GridEdge(NodeID s, NodeID t, _Coordinate sc, _Coordinate tc) : start(s), target(t), startCoord(sc), targetCoord(tc) {}
|
_GridEdge(NodeID s, NodeID t, _Coordinate sc, _Coordinate tc) : start(s), target(t), startCoord(sc), targetCoord(tc) {}
|
||||||
_GridEdge() {}
|
_GridEdge() : start(UINT_MAX), target(UINT_MAX) {}
|
||||||
NodeID start;
|
NodeID start;
|
||||||
NodeID target;
|
NodeID target;
|
||||||
_Coordinate startCoord;
|
_Coordinate startCoord;
|
||||||
@ -31,7 +31,7 @@ struct _GridEdge {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct GridEntry {
|
struct GridEntry {
|
||||||
GridEntry() {}
|
GridEntry() : fileIndex(UINT_MAX), ramIndex(UINT_MAX){}
|
||||||
GridEntry(_GridEdge e, unsigned f, unsigned r) : edge(e), fileIndex(f), ramIndex(r) {}
|
GridEntry(_GridEdge e, unsigned f, unsigned r) : edge(e), fileIndex(f), ramIndex(r) {}
|
||||||
_GridEdge edge;
|
_GridEdge edge;
|
||||||
unsigned fileIndex;
|
unsigned fileIndex;
|
||||||
|
Loading…
Reference in New Issue
Block a user