forked from quickshell/quickshell
		
	core/util: fix MemberMetadata compile on gcc
This commit is contained in:
		
							parent
							
								
									2c87cc3803
								
							
						
					
					
						commit
						79b2fea52e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -143,7 +143,7 @@ class MemberMetadata {
 | 
			
		|||
public:
 | 
			
		||||
	using Type = Traits::Type;
 | 
			
		||||
	using Ref = const Type&;
 | 
			
		||||
	using Ret = std::conditional_t<signal == nullptr, void, DropEmitter>;
 | 
			
		||||
	using Ret = std::conditional_t<std::is_null_pointer_v<decltype(signal)>, void, DropEmitter>;
 | 
			
		||||
 | 
			
		||||
	static Ref get(const Class* obj) { return obj->*member; }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue