Codechange: linkgraph always iterates with NodeIDs over the Size(), so make Size() the same type to prevent infinite loops
This commit is contained in:
@@ -495,7 +495,7 @@ public:
|
||||
* Get the current size of the component.
|
||||
* @return Size.
|
||||
*/
|
||||
inline uint16 Size() const { return (uint16)this->nodes.size(); }
|
||||
inline NodeID Size() const { return (NodeID)this->nodes.size(); }
|
||||
|
||||
/**
|
||||
* Get date of last compression.
|
||||
|
Reference in New Issue
Block a user