mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-11-03 22:37:09 +00:00 
			
		
		
		
	PowerUtils: allow constructing null pointers with xpointer
This commit is contained in:
		@@ -140,9 +140,12 @@ struct xpointer
 | 
			
		||||
{
 | 
			
		||||
    be<uint32_t> ptr;
 | 
			
		||||
 | 
			
		||||
    xpointer() : ptr(0)
 | 
			
		||||
    {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    xpointer(T* ptr) : ptr((uint32_t)ptr)
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    T* get() const
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user