Skip to content

Commit f71d676

Browse files
gengjiawentargos
authored andcommitted
src: remove redundant cast in node_http2.h
PR-URL: #25978 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent cb86357 commit f71d676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_http2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ class Http2Options {
388388
}
389389

390390
void SetPaddingStrategy(padding_strategy_type val) {
391-
padding_strategy_ = static_cast<padding_strategy_type>(val);
391+
padding_strategy_ = val;
392392
}
393393

394394
padding_strategy_type GetPaddingStrategy() const {

0 commit comments

Comments
 (0)