Skip to content

Commit

Permalink
src: remove redundant call in node_options-inl.h
Browse files Browse the repository at this point in the history
PR-URL: nodejs#26959
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
gengjiawen authored and BridgeAR committed Apr 16, 2019
1 parent 7347123 commit 1e7823d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_options-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1e7823d

Please sign in to comment.