diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-04-16 18:20:38 +0300 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-04-24 20:32:43 +0300 |
commit | 51079db826601425f4364a010a6468d734519d95 (patch) | |
tree | 740aa107c5aedea080ed33911ad0796ce7d7f806 /src/node_serdes.cc | |
parent | a763de137ceb81a19a2446b0f7286c4a309c27e4 (diff) |
src: apply clang-tidy rule modernize-use-equals-default
PR-URL: https://github.com/nodejs/node/pull/27264
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'src/node_serdes.cc')
-rw-r--r-- | src/node_serdes.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_serdes.cc b/src/node_serdes.cc index 682f90f0c3d..6e4bab5ce18 100644 --- a/src/node_serdes.cc +++ b/src/node_serdes.cc @@ -33,7 +33,7 @@ class SerializerContext : public BaseObject, SerializerContext(Environment* env, Local<Object> wrap); - ~SerializerContext() override {} + ~SerializerContext() override = default; void ThrowDataCloneError(Local<String> message) override; Maybe<bool> WriteHostObject(Isolate* isolate, Local<Object> object) override; @@ -68,7 +68,7 @@ class DeserializerContext : public BaseObject, Local<Object> wrap, Local<Value> buffer); - ~DeserializerContext() override {} + ~DeserializerContext() override = default; MaybeLocal<Object> ReadHostObject(Isolate* isolate) override; |