Skip to content

Commit da66610

Browse files
bnoordhuiscjihrig
authored andcommitted
src: fix -Winconsistent-missing-override warning
Fix a compiler warning that was introduced in commit 4db1bc8 ("http2: allocate on every chunk send") by adding an `override` keyword. PR-URL: #16726 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent b441573 commit da66610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_http2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ class Http2Session : public AsyncWrap,
431431
const SubmitTrailers& submit_trailers) override;
432432

433433
void Send(WriteWrap* req, char* buf, size_t length) override;
434-
WriteWrap* AllocateSend();
434+
WriteWrap* AllocateSend() override;
435435

436436
int DoWrite(WriteWrap* w, uv_buf_t* bufs, size_t count,
437437
uv_stream_t* send_handle) override;

0 commit comments

Comments
 (0)