Skip to content

Commit 1e7823d

Browse files
gengjiawenBridgeAR
authored andcommitted
src: remove redundant call in node_options-inl.h
PR-URL: #26959 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 7347123 commit 1e7823d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_options-inl.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ void OptionsParser<Options>::Parse(
416416
*Lookup<int64_t>(info.field, options) = std::atoll(value.c_str());
417417
break;
418418
case kUInteger:
419-
*Lookup<uint64_t>(info.field, options) = std::stoull(value.c_str());
419+
*Lookup<uint64_t>(info.field, options) = std::stoull(value);
420420
break;
421421
case kString:
422422
*Lookup<std::string>(info.field, options) = value;

0 commit comments

Comments
 (0)