summaryrefslogtreecommitdiff
path: root/src/fs_event_wrap.cc
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/fs_event_wrap.cc
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/fs_event_wrap.cc')
-rw-r--r--src/fs_event_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs_event_wrap.cc b/src/fs_event_wrap.cc
index 8f381b40a7..57d07272ec 100644
--- a/src/fs_event_wrap.cc
+++ b/src/fs_event_wrap.cc
@@ -54,7 +54,7 @@ class FSEventWrap: public HandleWrap {
private:
FSEventWrap(Environment* env, Handle<Object> object);
- virtual ~FSEventWrap();
+ virtual ~FSEventWrap() override;
static void OnEvent(uv_fs_event_t* handle, const char* filename, int events,
int status);