mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
Fix.
This commit is contained in:
parent
0394ea1fed
commit
d7ba016c73
@ -88,7 +88,7 @@ consteval double parse(std::string_view input) {
|
||||
|
||||
// This function should compile to a function which
|
||||
// merely returns 3.1415.
|
||||
double constexptest() {
|
||||
constexpr double constexptest() {
|
||||
return parse("3.1415 input");
|
||||
}
|
||||
```
|
||||
|
||||
@ -54,7 +54,7 @@ consteval double parse(std::string_view input) {
|
||||
|
||||
// This function should compile to a function which
|
||||
// merely returns 3.1415.
|
||||
double constexptest() {
|
||||
constexpr double constexptest() {
|
||||
return parse("3.1415 input");
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user