Explorar o código

Update CONTRIBUTING.md

bunnei %!s(int64=9) %!d(string=hai) anos
pai
achega
1f70365faa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      CONTRIBUTING.md

+ 1 - 1
CONTRIBUTING.md

@@ -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 {