diff options
author | Alexander Harkness <me@bearbin.net> | 2015-10-28 19:51:41 +0100 |
---|---|---|
committer | Alexander Harkness <me@bearbin.net> | 2015-10-28 19:51:41 +0100 |
commit | 745e6bd0b83aa16699e5df30219d89106189b7de (patch) | |
tree | 2b2d50f9cd0ca6fa9029f5618f782d54563fb2ec /CONTRIBUTING.md | |
parent | Fix wrong teleport permission. (solves #2369) (diff) | |
parent | remove contentless bullet point (diff) | |
download | cuberite-745e6bd0b83aa16699e5df30219d89106189b7de.tar cuberite-745e6bd0b83aa16699e5df30219d89106189b7de.tar.gz cuberite-745e6bd0b83aa16699e5df30219d89106189b7de.tar.bz2 cuberite-745e6bd0b83aa16699e5df30219d89106189b7de.tar.lz cuberite-745e6bd0b83aa16699e5df30219d89106189b7de.tar.xz cuberite-745e6bd0b83aa16699e5df30219d89106189b7de.tar.zst cuberite-745e6bd0b83aa16699e5df30219d89106189b7de.zip |
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1b43ed214..273a30925 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,6 @@ Here are the conventions: * Add those extra parentheses to conditions, especially in C++: - `if ((a == 1) && ((b == 2) || (c == 3)))` instead of ambiguous `if (a == 1 && b == 2 || c == 3)` - This helps prevent mistakes such as `if (a & 1 == 0)` - * * Use the provided wrappers for OS stuff: - Threading is done by inheriting from `cIsThread`, thread synchronization through `cCriticalSection` and `cEvent`, file access and filesystem operations through the `cFile` class, high-precision timers through `cTimer`, high-precision sleep through `cSleep` * No magic numbers, use named constants: |