Skip to content

Commit

Permalink
src: remove redundant cast in node_http2.h
Browse files Browse the repository at this point in the history
PR-URL: #25978
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
gengjiawen authored and targos committed Feb 14, 2019
1 parent cb86357 commit f71d676
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_http2.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class Http2Options {
}

void SetPaddingStrategy(padding_strategy_type val) {
padding_strategy_ = static_cast<padding_strategy_type>(val);
padding_strategy_ = val;
}

padding_strategy_type GetPaddingStrategy() const {
Expand Down

0 comments on commit f71d676

Please sign in to comment.