Const'ing parameter in function
This commit is contained in:
parent
ac1908d464
commit
4cd615ba2e
@ -358,7 +358,7 @@ private:
|
||||
}
|
||||
}
|
||||
|
||||
inline void _UnpackPath(std::deque<NodeID> & packedPath, std::vector<_PathData> & unpackedPath) const {
|
||||
inline void _UnpackPath(const std::deque<NodeID> & packedPath, std::vector<_PathData> & unpackedPath) const {
|
||||
const unsigned sizeOfPackedPath = packedPath.size();
|
||||
SimpleStack<std::pair<NodeID, NodeID> > recursionStack(sizeOfPackedPath);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user