diff options
Diffstat (limited to 'CONTRIBUTING.md')
| -rw-r--r-- | CONTRIBUTING.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9406dbd0e..7a21eebf8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md | |||
| @@ -53,7 +53,7 @@ namespace Example { | |||
| 53 | 53 | ||
| 54 | // Declare globals at the top | 54 | // Declare globals at the top |
| 55 | int g_foo{}; // {} can be used to initialize types as 0, false, or nullptr | 55 | int g_foo{}; // {} can be used to initialize types as 0, false, or nullptr |
| 56 | char* g_some_pointer; // Pointer * and reference & stick to the type name | 56 | char* g_some_pointer{}; // Pointer * and reference & stick to the type name, and make sure to initialize as nullptr! |
| 57 | 57 | ||
| 58 | /// A colorful enum. | 58 | /// A colorful enum. |
| 59 | enum SomeEnum { | 59 | enum SomeEnum { |