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:
gengjiawen 2019-03-28 21:42:57 +08:00 committed by Ruben Bridgewater
parent 73471236d8
commit 1e7823dd4e
No known key found for this signature in database
GPG Key ID: F07496B3EB3C1762

View File

@ -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;