remove debug output
This commit is contained in:
		
							parent
							
								
									3d691a3aec
								
							
						
					
					
						commit
						acefb5a5f3
					
				@ -155,7 +155,6 @@ class DescriptionFactory
 | 
			
		||||
            entireLength += path_description[i].length;
 | 
			
		||||
            segment_length += path_description[i].length;
 | 
			
		||||
            segment_duration += path_description[i].duration;
 | 
			
		||||
            SimpleLogger().Write() << "length: " << path_description[i].length << ", duration: " << path_description[i].duration;
 | 
			
		||||
            path_description[segment_start_index].length = segment_length;
 | 
			
		||||
            path_description[segment_start_index].duration = segment_duration;
 | 
			
		||||
 | 
			
		||||
@ -173,7 +172,6 @@ class DescriptionFactory
 | 
			
		||||
        {
 | 
			
		||||
            if (path_description.size() > 2)
 | 
			
		||||
            {
 | 
			
		||||
                SimpleLogger().Write() << "removing last segment";
 | 
			
		||||
                path_description.pop_back();
 | 
			
		||||
                path_description.back().necessary = true;
 | 
			
		||||
                path_description.back().turn_instruction = TurnInstruction::NoTurn;
 | 
			
		||||
@ -184,7 +182,6 @@ class DescriptionFactory
 | 
			
		||||
        {
 | 
			
		||||
            if (path_description.size() > 2)
 | 
			
		||||
            {
 | 
			
		||||
                SimpleLogger().Write() << "removing first segment";
 | 
			
		||||
                path_description.erase(path_description.begin());
 | 
			
		||||
                path_description.front().turn_instruction = TurnInstruction::HeadOn;
 | 
			
		||||
                path_description.front().necessary = true;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user