Fixed typo in the code example

This commit is contained in:
liuzicheng1987
2023-10-04 20:06:42 +02:00
committed by GitHub
parent 679021d030
commit 747f3421a2
+2 -2
View File
@@ -22,10 +22,10 @@ Literals can be used inside switches:
```cpp
switch(my_literal.value()) {
case MyLiteral::value_of<"option1">:
case MyLiteral::value_of<"option1">():
...
case MyLiteral::value_of<"option2">:
case MyLiteral::value_of<"option2">():
...
...