Skip to content

Commit 23fd7ae

Browse files
authored
Update cpptutorial.md
Update default value of PhoneType in example - it was not one of the available options for the type
1 parent 4c7b73c commit 23fd7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/getting-started/cpptutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ message Person {
9696
9797
message PhoneNumber {
9898
optional string number = 1;
99-
optional PhoneType type = 2 [default = HOME];
99+
optional PhoneType type = 2 [default = PHONE_TYPE_HOME];
100100
}
101101
102102
repeated PhoneNumber phones = 4;

0 commit comments

Comments
 (0)