src: remove redundant call in node_options-inl.h · nodejs/node@1e7823d (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Commit 1e7823d
authored and
committed
src: remove redundant call in node_options-inl.h
PR-URL: #26959Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Refael Ackermann refack@gmail.com Reviewed-By: Tobias Nießen tniessen@tnie.de
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -416,7 +416,7 @@ void OptionsParser::Parse( | ||
416 | 416 | *Lookup<int64_t>(info.field, options) = std::atoll(value.c_str()); |
417 | 417 | break; |
418 | 418 | case kUInteger: |
419 | - *Lookup<uint64_t>(info.field, options) = std::stoull(value.c_str()); | |
419 | + *Lookup<uint64_t>(info.field, options) = std::stoull(value); | |
420 | 420 | break; |
421 | 421 | case kString: |
422 | 422 | *Lookupstd::string(info.field, options) = value; |