mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-10-31 23:06:43 +08:00 
			
		
		
		
	CONTRIBUTING.md - remove note about casting numeric types
Apparently it's not true: https://github.com/citra-emu/citra/pull/4310#discussion_r223174725
This commit is contained in:
		
							parent
							
								
									6cc7656e81
								
							
						
					
					
						commit
						d210170f36
					
				| @ -22,7 +22,7 @@ If clang format is found, then cmake will add a custom build target that can be | ||||
| * Don't ever introduce new external dependencies into Core | ||||
| * Don't use any platform specific code in Core | ||||
| * Use namespaces often | ||||
| * Avoid the use of C-style casts and instead prefer C++-style `static_cast` and `reinterpret_cast`. Try to avoid using `dynamic_cast`. Never use `const_cast`. The only exception to this rule is for casting between two numeric types, where C-style casts are encouraged for brevity and readability. | ||||
| * Avoid the use of C-style casts and instead prefer C++-style `static_cast` and `reinterpret_cast`. Try to avoid using `dynamic_cast`. Never use `const_cast`. | ||||
| 
 | ||||
| ### Naming Rules | ||||
| * Functions: `PascalCase` | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user