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_v8.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_v8.cc')
-rw-r--r--src/node_v8.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_v8.cc b/src/node_v8.cc
index c1098e2d339..de3d3daad50 100644
--- a/src/node_v8.cc
+++ b/src/node_v8.cc
@@ -142,9 +142,6 @@ void BindingData::MemoryInfo(MemoryTracker* tracker) const {
heap_code_statistics_buffer);
}
-// TODO(addaleax): Remove once we're on C++17.
-constexpr FastStringKey BindingData::type_name;
-
void CachedDataVersionTag(const FunctionCallbackInfo<Value>& args) {
Environment* env = Environment::GetCurrent(args);
Local<Integer> result =