Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2022-02-11 19:42:09 +0300
committerGitHub <noreply@github.com>2022-02-11 19:42:09 +0300
commitb51eba422f4988b954d24b4e7aa27bd9c491e58b (patch)
treeae5168d2f39785c4d1eaf4951b2dfc7d6303bd06 /src/node_http2.cc
parent91d28d8b46cbb9b101ee2c51a32adafb12bc24b7 (diff)
src: remove separate definitions for static constexpr members
This is no longer necessary (and actually deprecated) since C++17. PR-URL: https://github.com/nodejs/node/pull/41755 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
Diffstat (limited to 'src/node_http2.cc')
-rw-r--r--src/node_http2.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_http2.cc b/src/node_http2.cc
index eb33da6eae7..9c609f802b8 100644
--- a/src/node_http2.cc
+++ b/src/node_http2.cc
@@ -3135,9 +3135,6 @@ void Http2State::MemoryInfo(MemoryTracker* tracker) const {
tracker->TrackField("root_buffer", root_buffer);
}
-// TODO(addaleax): Remove once we're on C++17.
-constexpr FastStringKey Http2State::type_name;
-
// Set up the process.binding('http2') binding.
void Initialize(Local<Object> target,
Local<Value> unused,