util/AllocatedString: remove unnecessary operator!=()
The compiler must generate this implicitly from operator==().
This commit is contained in:
		
				
					committed by
					
						
						Max Kellermann
					
				
			
			
				
	
			
			
			
						parent
						
							58a5550439
						
					
				
				
					commit
					9944c97203
				
			@@ -99,10 +99,6 @@ public:
 | 
				
			|||||||
		return value == nullptr;
 | 
							return value == nullptr;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	constexpr bool operator!=(std::nullptr_t) const noexcept {
 | 
					 | 
				
			||||||
		return value != nullptr;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	operator string_view() const noexcept {
 | 
						operator string_view() const noexcept {
 | 
				
			||||||
		return value != nullptr
 | 
							return value != nullptr
 | 
				
			||||||
			? string_view(value)
 | 
								? string_view(value)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user