summaryrefslogtreecommitdiff
path: root/src/handle_wrap.h
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-10-22 04:26:25 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2014-10-23 22:49:59 +0200
commit9f5800ab81dd33da792477e5451ec4c83b1cc0fb (patch)
tree72bf30a54169684720eefccd6fbf734947bab9c8 /src/handle_wrap.h
parentb33a87d8cb52d5ea57fe4ecd1498f3136a2ccc11 (diff)
downloadandroid-node-v8-9f5800ab81dd33da792477e5451ec4c83b1cc0fb.tar.gz
android-node-v8-9f5800ab81dd33da792477e5451ec4c83b1cc0fb.tar.bz2
android-node-v8-9f5800ab81dd33da792477e5451ec4c83b1cc0fb.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handle_wrap.h b/src/handle_wrap.h
index 4f6f6e0323..40ee75cd81 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>&);