Skip to content
Snippets Groups Projects
Unverified Commit 6d4f5b96 authored by Mat M's avatar Mat M Committed by GitHub
Browse files

Merge pull request #1452 from FearlessTobi/port-4313

Port citra-emu/citra#4313: "CONTRIBUTING.md - remove note about casting numeric types"
parents 6cc7656e d210170f
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,7 @@ If clang format is found, then cmake will add a custom build target that can be ...@@ -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 ever introduce new external dependencies into Core
* Don't use any platform specific code in Core * Don't use any platform specific code in Core
* Use namespaces often * 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 ### Naming Rules
* Functions: `PascalCase` * Functions: `PascalCase`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment