This adds the summary back to the RouteLeg, it now depends on if
`steps=true`.
This reverts commit eaf9993dd9.
		
	
			
		
			
				
	
	
		
			30 lines
		
	
	
		
			350 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			350 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef ROUTE_LEG_HPP
 | 
						|
#define ROUTE_LEG_HPP
 | 
						|
 | 
						|
#include "engine/guidance/route_step.hpp"
 | 
						|
 | 
						|
#include <boost/optional.hpp>
 | 
						|
 | 
						|
#include <string>
 | 
						|
#include <vector>
 | 
						|
 | 
						|
namespace osrm
 | 
						|
{
 | 
						|
namespace engine
 | 
						|
{
 | 
						|
namespace guidance
 | 
						|
{
 | 
						|
 | 
						|
struct RouteLeg
 | 
						|
{
 | 
						|
    double duration;
 | 
						|
    double distance;
 | 
						|
    std::string summary;
 | 
						|
    std::vector<RouteStep> steps;
 | 
						|
};
 | 
						|
}
 | 
						|
}
 | 
						|
}
 | 
						|
 | 
						|
#endif
 |