aboutsummaryrefslogtreecommitdiffhomepage
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorNeatNit <[email protected]>2018-10-06 11:57:50 +0300
committerfearlessTobi <[email protected]>2018-10-06 15:47:38 +0200
commitd210170f36ec29c9f73430d1ec21f7784ca0aa73 (patch)
tree495ecfe426d5e81016e4b3fe646d33ab028c643a /CONTRIBUTING.md
parent6cc7656e814340ab0030b3b2e39342a501c56560 (diff)
downloadyuzu-android-d210170f36ec29c9f73430d1ec21f7784ca0aa73.tar.gz
yuzu-android-d210170f36ec29c9f73430d1ec21f7784ca0aa73.zip
CONTRIBUTING.md - remove note about casting numeric types
Apparently it's not true: https://github.com/citra-emu/citra/pull/4310#discussion_r223174725
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 008dc5b50..1b2056885 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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`