From f71d6762ca57af8973ca0e0af6b57b1202458258 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Thu, 7 Feb 2019 16:27:02 +0800 Subject: [PATCH] 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 61858aecf60962..660a713d19e779 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 {