diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-10-22 06:53:26 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2014-10-24 00:49:59 +0400 |
commit | 5ab87dba738d31d4d84eea95346d3ba16b96c7c2 (patch) | |
tree | aab7005ece24ceeece87fdb9f882065990bd4993 /src/stream_wrap.h | |
parent | c038dcc360cb5e72c5891d1ef59640f5c3fa76b8 (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.h | 3 |
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(); |