summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/async_wrap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/async_wrap.h b/src/async_wrap.h
index 1f1d19201b..d84f0c6d2f 100644
--- a/src/async_wrap.h
+++ b/src/async_wrap.h
@@ -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;