summaryrefslogtreecommitdiff
path: root/src/node_process_methods.cc
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2022-02-11 17:42:09 +0100
committerGitHub <noreply@github.com>2022-02-11 16:42:09 +0000
commitb51eba422f4988b954d24b4e7aa27bd9c491e58b (patch)
treeae5168d2f39785c4d1eaf4951b2dfc7d6303bd06 /src/node_process_methods.cc
parent91d28d8b46cbb9b101ee2c51a32adafb12bc24b7 (diff)
downloadnode-new-b51eba422f4988b954d24b4e7aa27bd9c491e58b.tar.gz
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_process_methods.cc')
-rw-r--r--src/node_process_methods.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_process_methods.cc b/src/node_process_methods.cc
index bc5d41382f..350a7094ba 100644
--- a/src/node_process_methods.cc
+++ b/src/node_process_methods.cc
@@ -448,8 +448,6 @@ static void ReallyExit(const FunctionCallbackInfo<Value>& args) {
namespace process {
-constexpr FastStringKey BindingData::type_name;
-
BindingData::BindingData(Environment* env, v8::Local<v8::Object> object)
: SnapshotableObject(env, object, type_int) {
Local<ArrayBuffer> ab = ArrayBuffer::New(env->isolate(), kBufferSize);