Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2014-10-22 06:53:26 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2014-10-24 00:49:59 +0400
commit5ab87dba738d31d4d84eea95346d3ba16b96c7c2 (patch)
treeaab7005ece24ceeece87fdb9f882065990bd4993 /src/stream_wrap.h
parentc038dcc360cb5e72c5891d1ef59640f5c3fa76b8 (diff)
src: mark empty destructors as default
Mark empty destructors as having a default no-op implementation. Remove a few unused constructors and destructors while we are here.
Diffstat (limited to 'src/stream_wrap.h')
-rw-r--r--src/stream_wrap.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stream_wrap.h b/src/stream_wrap.h
index 3c058d26f8a..dbb969a06c6 100644
--- a/src/stream_wrap.h
+++ b/src/stream_wrap.h
@@ -72,8 +72,7 @@ class StreamWrapCallbacks {
explicit StreamWrapCallbacks(StreamWrapCallbacks* old) : wrap_(old->wrap()) {
}
- virtual ~StreamWrapCallbacks() {
- }
+ virtual ~StreamWrapCallbacks() = default;
virtual const char* Error();