Skip to content

Commit 3f58f7a

Browse files
proxictmathieucarbou
authored andcommitted
fix: strlen is not constexpr
Defining the string literals as char arrays instead of letting them decay to pointers allows us to use `sizeof` instead of `strlen()` to get the length of string literals.
1 parent 62b0613 commit 3f58f7a

File tree

1 file changed

+184
-184
lines changed

1 file changed

+184
-184
lines changed

0 commit comments

Comments
 (0)