further const'ing

This commit is contained in:
DennisOSRM 2013-01-11 22:22:57 +01:00
parent 2ccd3da5b3
commit a64420d700
2 changed files with 2 additions and 2 deletions

View File

@ -547,7 +547,7 @@ private:
}
}
inline unsigned GetFileIndexForLatLon(const int lt, const int ln) {
inline unsigned GetFileIndexForLatLon(const int lt, const int ln) const {
double lat = lt/100000.;
double lon = ln/100000.;

View File

@ -107,7 +107,7 @@ public:
return readOnlyGrid->FindNearestCoordinateOnEdgeInNodeBasedGraph(coord, result);
}
inline bool FindPhantomNodeForCoordinate( const _Coordinate & location, PhantomNode & resultNode, const unsigned zoomLevel) const {
inline bool FindPhantomNodeForCoordinate( const _Coordinate & location, PhantomNode & resultNode, const unsigned zoomLevel) {
return readOnlyGrid->FindPhantomNodeForCoordinate(location, resultNode, zoomLevel);
}