src: remove redundant call in node_options-inl.h
PR-URL: https://github.com/nodejs/node/pull/26959 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
parent
73471236d8
commit
1e7823dd4e
@ -416,7 +416,7 @@ void OptionsParser<Options>::Parse(
|
||||
*Lookup<int64_t>(info.field, options) = std::atoll(value.c_str());
|
||||
break;
|
||||
case kUInteger:
|
||||
*Lookup<uint64_t>(info.field, options) = std::stoull(value.c_str());
|
||||
*Lookup<uint64_t>(info.field, options) = std::stoull(value);
|
||||
break;
|
||||
case kString:
|
||||
*Lookup<std::string>(info.field, options) = value;
|
||||
|
Loading…
x
Reference in New Issue
Block a user