fix c++ formatting
This commit is contained in:
		
							parent
							
								
									f5bf788814
								
							
						
					
					
						commit
						a5756fc764
					
				@ -35,7 +35,7 @@ template <class T>
 | 
				
			|||||||
auto get_value_by_key(T const &object, const char *key) -> decltype(object.get_value_by_key(key))
 | 
					auto get_value_by_key(T const &object, const char *key) -> decltype(object.get_value_by_key(key))
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    auto v = object.get_value_by_key(key);
 | 
					    auto v = object.get_value_by_key(key);
 | 
				
			||||||
    if( v && *v ) {             // non-empty string?
 | 
					    if (v && *v) {             // non-empty string?
 | 
				
			||||||
        return v;
 | 
					        return v;
 | 
				
			||||||
    } else {
 | 
					    } else {
 | 
				
			||||||
        return NULL;
 | 
					        return NULL;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user