Skip to content

Commit 9f2d264

Browse files
sam-bristowtkruse
authored andcommitted
Remove rogue comma from example
1 parent 04cd9a5 commit 9f2d264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CppCoreGuidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7458,7 +7458,7 @@ Such code is not uncommon in code written before there were convenient alternati
74587458

74597459
Use `constexpr` values instead. For example:
74607460

7461-
constexpr int red = 0x,FF0000;
7461+
constexpr int red = 0xFF0000;
74627462
constexpr short scale = 4;
74637463
constexpr bool signed = true;
74647464

0 commit comments

Comments
 (0)