diff options
author | Schwertspize <Schwertspize@users.noreply.github.com> | 2015-10-28 19:37:32 +0100 |
---|---|---|
committer | Schwertspize <Schwertspize@users.noreply.github.com> | 2015-10-28 19:37:32 +0100 |
commit | 2f269342c73b4de56ec8a3bb5d6f5f089be70446 (patch) | |
tree | 2b2d50f9cd0ca6fa9029f5618f782d54563fb2ec /CONTRIBUTING.md | |
parent | Fix wrong teleport permission. (solves #2369) (diff) | |
download | cuberite-2f269342c73b4de56ec8a3bb5d6f5f089be70446.tar cuberite-2f269342c73b4de56ec8a3bb5d6f5f089be70446.tar.gz cuberite-2f269342c73b4de56ec8a3bb5d6f5f089be70446.tar.bz2 cuberite-2f269342c73b4de56ec8a3bb5d6f5f089be70446.tar.lz cuberite-2f269342c73b4de56ec8a3bb5d6f5f089be70446.tar.xz cuberite-2f269342c73b4de56ec8a3bb5d6f5f089be70446.tar.zst cuberite-2f269342c73b4de56ec8a3bb5d6f5f089be70446.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: |