summaryrefslogtreecommitdiff
path: root/src/node_http2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_http2.h')
-rw-r--r--src/node_http2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node_http2.h b/src/node_http2.h
index 06adfd55cd..c8ffa69f2e 100644
--- a/src/node_http2.h
+++ b/src/node_http2.h
@@ -1208,7 +1208,7 @@ class ExternalHeader :
class Headers {
public:
Headers(Isolate* isolate, Local<Context> context, Local<Array> headers);
- ~Headers() {}
+ ~Headers() = default;
nghttp2_nv* operator*() {
return reinterpret_cast<nghttp2_nv*>(*buf_);
@@ -1229,7 +1229,7 @@ class Origins {
Local<Context> context,
Local<v8::String> origin_string,
size_t origin_count);
- ~Origins() {}
+ ~Origins() = default;
nghttp2_origin_entry* operator*() {
return reinterpret_cast<nghttp2_origin_entry*>(*buf_);