diff options
author | gengjiawen <technicalcute@gmail.com> | 2019-02-14 18:12:43 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2019-02-18 07:43:22 +0300 |
commit | c3d889182b0c958e922aec96e3aab43766884536 (patch) | |
tree | df09fb66d061fb80a25e51b9d66a92cd3661eac2 /src/async_wrap.h | |
parent | 77b39c2eb2c9fe437d0e09e3e7682564d815c7fb (diff) |
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/async_wrap.h')
-rw-r--r-- | src/async_wrap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/async_wrap.h b/src/async_wrap.h index f7fc149c941..6d5da4e4ee1 100644 --- a/src/async_wrap.h +++ b/src/async_wrap.h @@ -109,7 +109,7 @@ class AsyncWrap : public BaseObject { ProviderType provider, double execution_async_id = -1); - virtual ~AsyncWrap(); + ~AsyncWrap() override; static v8::Local<v8::FunctionTemplate> GetConstructorTemplate( Environment* env); @@ -169,7 +169,7 @@ class AsyncWrap : public BaseObject { v8::Local<v8::Value>* argv); virtual std::string diagnostic_name() const; - virtual std::string MemoryInfoName() const; + std::string MemoryInfoName() const override; static void WeakCallback(const v8::WeakCallbackInfo<DestroyParam> &info); |