unordered_multimap compilation fixes
This commit is contained in:
		
							parent
							
								
									b3f59ab92c
								
							
						
					
					
						commit
						790b574114
					
				| @ -494,28 +494,32 @@ std::vector<EdgeDuration> oneToManySearch(SearchEngineData<Algorithm> &engine_wo | |||||||
|         if (DIRECTION == FORWARD_DIRECTION) |         if (DIRECTION == FORWARD_DIRECTION) | ||||||
|         { |         { | ||||||
|             if (phantom_node.IsValidForwardTarget()) |             if (phantom_node.IsValidForwardTarget()) | ||||||
|                 target_nodes_index.insert({phantom_node.forward_segment_id.id, |                 target_nodes_index.insert( | ||||||
|                                            {index, |                     {phantom_node.forward_segment_id.id, | ||||||
|                                             phantom_node.GetForwardWeightPlusOffset(), |                      std::make_tuple(index, | ||||||
|                                             phantom_node.GetForwardDuration()}}); |                                      phantom_node.GetForwardWeightPlusOffset(), | ||||||
|  |                                      phantom_node.GetForwardDuration())}); | ||||||
|             if (phantom_node.IsValidReverseTarget()) |             if (phantom_node.IsValidReverseTarget()) | ||||||
|                 target_nodes_index.insert({phantom_node.reverse_segment_id.id, |                 target_nodes_index.insert( | ||||||
|                                            {index, |                     {phantom_node.reverse_segment_id.id, | ||||||
|                                             phantom_node.GetReverseWeightPlusOffset(), |                      std::make_tuple(index, | ||||||
|                                             phantom_node.GetReverseDuration()}}); |                                      phantom_node.GetReverseWeightPlusOffset(), | ||||||
|  |                                      phantom_node.GetReverseDuration())}); | ||||||
|         } |         } | ||||||
|         else if (DIRECTION == REVERSE_DIRECTION) |         else if (DIRECTION == REVERSE_DIRECTION) | ||||||
|         { |         { | ||||||
|             if (phantom_node.IsValidForwardSource()) |             if (phantom_node.IsValidForwardSource()) | ||||||
|                 target_nodes_index.insert({phantom_node.forward_segment_id.id, |                 target_nodes_index.insert( | ||||||
|                                            {index, |                     {phantom_node.forward_segment_id.id, | ||||||
|                                             -phantom_node.GetForwardWeightPlusOffset(), |                      std::make_tuple(index, | ||||||
|                                             -phantom_node.GetForwardDuration()}}); |                                      -phantom_node.GetForwardWeightPlusOffset(), | ||||||
|  |                                      -phantom_node.GetForwardDuration())}); | ||||||
|             if (phantom_node.IsValidReverseSource()) |             if (phantom_node.IsValidReverseSource()) | ||||||
|                 target_nodes_index.insert({phantom_node.reverse_segment_id.id, |                 target_nodes_index.insert( | ||||||
|                                            {index, |                     {phantom_node.reverse_segment_id.id, | ||||||
|                                             -phantom_node.GetReverseWeightPlusOffset(), |                      std::make_tuple(index, | ||||||
|                                             -phantom_node.GetReverseDuration()}}); |                                      -phantom_node.GetReverseWeightPlusOffset(), | ||||||
|  |                                      -phantom_node.GetReverseDuration())}); | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user