From f4ce330f8f9d64ab8371352f1158ae9b502b5835 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Thu, 7 Feb 2019 16:27:02 +0800 Subject: src: remove redundant cast in node_http2.h PR-URL: https://github.com/nodejs/node/pull/25978 Reviewed-By: Colin Ihrig Reviewed-By: Daniel Bevenius Reviewed-By: Sakthipriyan Vairamani Reviewed-By: James M Snell --- src/node_http2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_http2.h b/src/node_http2.h index 61858aecf6..660a713d19 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -388,7 +388,7 @@ class Http2Options { } void SetPaddingStrategy(padding_strategy_type val) { - padding_strategy_ = static_cast(val); + padding_strategy_ = val; } padding_strategy_type GetPaddingStrategy() const { -- cgit v1.2.3