fix container.hpp to properly use std::next and std::end
This commit is contained in:
		
							parent
							
								
									23c79f5cc9
								
							
						
					
					
						commit
						1c19796e3e
					
				| @ -67,7 +67,7 @@ Function for_each_pair(ForwardIterator begin, ForwardIterator end, Function func | ||||
|     while (next != end) | ||||
|     { | ||||
|         function(*begin, *next); | ||||
|         std::next(begin); std::next(next); | ||||
|         begin = std::next(begin); next = std::next(next); | ||||
|     } | ||||
|     return function; | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user