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_platform.h | |
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_platform.h')
-rw-r--r-- | src/node_platform.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_platform.h b/src/node_platform.h index c3a1fb04fa7..66f86cfa7e7 100644 --- a/src/node_platform.h +++ b/src/node_platform.h @@ -24,7 +24,7 @@ template <class T> class TaskQueue { public: TaskQueue(); - ~TaskQueue() {} + ~TaskQueue() = default; void Push(std::unique_ptr<T> task); std::unique_ptr<T> Pop(); @@ -134,7 +134,7 @@ class NodePlatform : public MultiIsolatePlatform { public: NodePlatform(int thread_pool_size, node::tracing::TracingController* tracing_controller); - ~NodePlatform() override {} + ~NodePlatform() override = default; void DrainTasks(v8::Isolate* isolate) override; void CancelPendingDelayedTasks(v8::Isolate* isolate) override; |