diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-10-22 06:26:25 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2014-10-24 00:49:59 +0400 |
commit | 9f5800ab81dd33da792477e5451ec4c83b1cc0fb (patch) | |
tree | 72bf30a54169684720eefccd6fbf734947bab9c8 /src/handle_wrap.h | |
parent | b33a87d8cb52d5ea57fe4ecd1498f3136a2ccc11 (diff) |
src: mark virtual functions with override keyword
Add `override` keywords where appropriate. Makes maintenance easier
because the compiler will shout at you when a base class changes in
an incompatible way.
Diffstat (limited to 'src/handle_wrap.h')
-rw-r--r-- | src/handle_wrap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handle_wrap.h b/src/handle_wrap.h index 4f6f6e03236..40ee75cd811 100644 --- a/src/handle_wrap.h +++ b/src/handle_wrap.h @@ -64,7 +64,7 @@ class HandleWrap : public AsyncWrap { v8::Handle<v8::Object> object, uv_handle_t* handle, AsyncWrap::ProviderType provider); - virtual ~HandleWrap(); + virtual ~HandleWrap() override; private: friend void GetActiveHandles(const v8::FunctionCallbackInfo<v8::Value>&); |