use constexpr if

This commit is contained in:
Siarhei Fedartsou
2024-05-21 20:36:16 +02:00
parent e562d34639
commit a37f43bf3f
3 changed files with 32 additions and 36 deletions
@@ -303,7 +303,6 @@ void relaxOutgoingEdges(const DataFacade<Algorithm> &facade,
static constexpr auto IS_MAP_MATCHING =
std::is_same_v<typename SearchEngineData<mld::Algorithm>::MapMatchingQueryHeap, Heap>;
// SearchEngineData<Algorithm>::MapMatchingQueryHeap
if (level >= 1 && !heapNode.data.from_clique_arc)
{
if constexpr (DIRECTION == FORWARD_DIRECTION)