mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 19:45:08 +00:00
Meta+LibC through LibHTTP: Make clang-format-10 clean
Why break at LibHTTP? Because "Meta+Libraries" would be insanely large, and breaking between LibHTTP and LibJS makes the commits roughly evenly large.
This commit is contained in:
parent
64cc3f51d0
commit
ede5dbd7b3
58 changed files with 87 additions and 89 deletions
|
@ -334,7 +334,7 @@ void ArgsParser::add_positional_argument(double& value, const char* help_string,
|
|||
required == Required::Yes ? 1 : 0,
|
||||
1,
|
||||
[&value](const char* s) {
|
||||
char *p;
|
||||
char* p;
|
||||
double v = strtod(s, &p);
|
||||
bool valid_value = !isnan(v) && p != s;
|
||||
if (valid_value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue