mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-31 23:06:43 +08:00 
			
		
		
		
	Silence std::aligned_storage warnings as it's deprecated in C++23,
replace it with alignas() and a C array
This commit is contained in:
		
							parent
							
								
									a83a5d2e4c
								
							
						
					
					
						commit
						f294b886db
					
				| @ -11,7 +11,7 @@ namespace Common { | ||||
| namespace detail { | ||||
| template <typename T, size_t Size, size_t Align> | ||||
| struct TypedStorageImpl { | ||||
|     std::aligned_storage_t<Size, Align> storage_; | ||||
|     alignas(Align) u8 storage_[Size]; | ||||
| }; | ||||
| } // namespace detail
 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user