Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
src: remove redundant cast in node_http2.h
  • Loading branch information
gengjiawen committed Feb 7, 2019
commit c98536f7dede3bb73577cd27d7c3394af0fbeb51
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