Make json_pointer::back const (resolves #1764)
This commit is contained in:
		
							parent
							
								
									99d7518d21
								
							
						
					
					
						commit
						7476f5ee0c
					
				
					 3 changed files with 6 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -267,7 +267,7 @@ class json_pointer
 | 
			
		|||
 | 
			
		||||
    @since version 3.6.0
 | 
			
		||||
    */
 | 
			
		||||
    const std::string& back()
 | 
			
		||||
    const std::string& back() const
 | 
			
		||||
    {
 | 
			
		||||
        if (JSON_HEDLEY_UNLIKELY(empty()))
 | 
			
		||||
        {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue