Permalink
Browse files

Update CONTRIBUTING.md

1 parent 0101368 commit 1f70365faa75e5dc25108d22bf0a0399b93761df @bunnei bunnei committed on GitHub Nov 5, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 CONTRIBUTING.md
View
@@ -53,7 +53,7 @@ namespace Example {
// Declare globals at the top
int g_foo{}; // {} can be used to initialize types as 0, false, or nullptr
-char* g_some_pointer; // Pointer * and reference & stick to the type name
+char* g_some_pointer{}; // Pointer * and reference & stick to the type name, and make sure to initialize as nullptr!
/// A colorful enum.
enum SomeEnum {

0 comments on commit 1f70365

Please sign in to comment.