mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-15 22:54:00 +00:00
Update CONTRIBUTING.md
This commit is contained in:
parent
01013689b8
commit
1f70365faa
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ namespace Example {
|
||||||
|
|
||||||
// Declare globals at the top
|
// Declare globals at the top
|
||||||
int g_foo{}; // {} can be used to initialize types as 0, false, or nullptr
|
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.
|
/// A colorful enum.
|
||||||
enum SomeEnum {
|
enum SomeEnum {
|
||||||
|
|
Loading…
Reference in a new issue