mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
src: use deleted function instead of private function in class AsyncWrap
PR-URL: https://github.com/nodejs/node/pull/26634 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
committed by
Refael Ackermann
parent
b215bf9dac
commit
dace489099
@@ -112,6 +112,8 @@ class AsyncWrap : public BaseObject {
|
||||
|
||||
~AsyncWrap() override;
|
||||
|
||||
AsyncWrap() = delete;
|
||||
|
||||
static v8::Local<v8::FunctionTemplate> GetConstructorTemplate(
|
||||
Environment* env);
|
||||
|
||||
@@ -200,7 +202,6 @@ class AsyncWrap : public BaseObject {
|
||||
ProviderType provider,
|
||||
double execution_async_id,
|
||||
bool silent);
|
||||
inline AsyncWrap();
|
||||
const ProviderType provider_type_;
|
||||
// Because the values may be Reset(), cannot be made const.
|
||||
double async_id_ = -1;
|
||||
|
||||
Reference in New Issue
Block a user