From a4327e042d69fdab2e652bb3505f362b83cde0dc Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi Date: Tue, 11 Jun 2019 14:57:42 +0200 Subject: [PATCH] disable some warnings --- routing/ff_router/UnivFFviaFM.cpp | 2 +- routing/ff_router_trips/UnivFFviaFMTrips.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routing/ff_router/UnivFFviaFM.cpp b/routing/ff_router/UnivFFviaFM.cpp index 96b24597..65362892 100644 --- a/routing/ff_router/UnivFFviaFM.cpp +++ b/routing/ff_router/UnivFFviaFM.cpp @@ -1817,7 +1817,7 @@ void UnivFFviaFM::getDirectionToUID(int destID, long int key, Point& direction){ } else if ((key < _grid->GetnPoints()-_grid->GetiMax()) && (_gridCode[key+_grid->GetiMax()] != OUTSIDE) && (_gridCode[key+_grid->GetiMax()] != WALL)) { key = key + _grid->GetiMax(); } else { - Log->Write("ERROR:\t In getDirectionToUID (3 args)"); + // Log->Write("ERROR:\t In getDirectionToUID (3 args)"); } } if (_directionFieldWithKey.count(destID)==1 && _directionFieldWithKey[destID]) { diff --git a/routing/ff_router_trips/UnivFFviaFMTrips.cpp b/routing/ff_router_trips/UnivFFviaFMTrips.cpp index c5851981..6d1a499b 100644 --- a/routing/ff_router_trips/UnivFFviaFMTrips.cpp +++ b/routing/ff_router_trips/UnivFFviaFMTrips.cpp @@ -1664,7 +1664,7 @@ double UnivFFviaFMTrips::getCostToDestination(const int destID, const Point& pos } else if ((key < _grid->GetnPoints()-_grid->GetiMax()) && (_gridCode[key+_grid->GetiMax()] != OUTSIDE) && (_gridCode[key+_grid->GetiMax()] != WALL)) { key = key + _grid->GetiMax(); } else { - Log->Write("ERROR:\t In getCostToDestination(3 args)"); + // Log->Write("ERROR:\t In getCostToDestination(3 args)"); } } if (_costFieldWithKey.count(destID)==1 && _costFieldWithKey[destID]) { @@ -1834,7 +1834,7 @@ void UnivFFviaFMTrips::getDirectionToUID(int destID, long int key, Point& direct } else if ((key < _grid->GetnPoints()-_grid->GetiMax()) && (_gridCode[key+_grid->GetiMax()] != OUTSIDE) && (_gridCode[key+_grid->GetiMax()] != WALL)) { key = key + _grid->GetiMax(); } else { - Log->Write("ERROR:\t In getDirectionToUID (3 args)"); + // Log->Write("ERROR:\t In getDirectionToUID (3 args)"); } } if (_directionFieldWithKey.count(destID)==1 && _directionFieldWithKey[destID]) { -- GitLab