summaryrefslogtreecommitdiff
path: root/src/node_platform.h
diff options
context:
space:
mode:
authorgengjiawen <technicalcute@gmail.com>2019-02-14 23:12:43 +0800
committerDaniel Bevenius <daniel.bevenius@gmail.com>2019-02-18 05:43:22 +0100
commitc3d889182b0c958e922aec96e3aab43766884536 (patch)
treedf09fb66d061fb80a25e51b9d66a92cd3661eac2 /src/node_platform.h
parent77b39c2eb2c9fe437d0e09e3e7682564d815c7fb (diff)
downloadnode-new-c3d889182b0c958e922aec96e3aab43766884536.tar.gz
src: apply clang-tidy rule modernize-use-override
PR-URL: https://github.com/nodejs/node/pull/26103 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_platform.h')
-rw-r--r--src/node_platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_platform.h b/src/node_platform.h
index 1308d4df6a..ec48296b31 100644
--- a/src/node_platform.h
+++ b/src/node_platform.h
@@ -56,7 +56,7 @@ class PerIsolatePlatformData :
public std::enable_shared_from_this<PerIsolatePlatformData> {
public:
PerIsolatePlatformData(v8::Isolate* isolate, uv_loop_t* loop);
- ~PerIsolatePlatformData();
+ ~PerIsolatePlatformData() override;
void PostTask(std::unique_ptr<v8::Task> task) override;
void PostIdleTask(std::unique_ptr<v8::IdleTask> task) override;
@@ -123,7 +123,7 @@ class NodePlatform : public MultiIsolatePlatform {
public:
NodePlatform(int thread_pool_size,
node::tracing::TracingController* tracing_controller);
- virtual ~NodePlatform() {}
+ ~NodePlatform() override {}
void DrainTasks(v8::Isolate* isolate) override;
void CancelPendingDelayedTasks(v8::Isolate* isolate) override;