Skip to content

Commit 5f84814

Browse files
committed
quic: fix linting issues
1 parent 5a09738 commit 5f84814

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/quic/application.cc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bool Session::Application::Start() {
6767
// By default there is nothing to do. Specific implementations may
6868
// override to perform more actions.
6969
return true;
70-
};
70+
}
7171

7272
void Session::Application::AcknowledgeStreamData(Stream* stream,
7373
size_t datalen) {
@@ -296,7 +296,10 @@ ssize_t Session::Application::WriteVStream(PathStorage* path,
296296
// that is used for all unrecognized ALPN identifiers.
297297
class DefaultApplication final : public Session::Application {
298298
public:
299-
using Application::Application;
299+
// Marked NOLINT because the cpp linter gets confused about this using
300+
// statement not being sorted with the using v8 statements at the top
301+
// of the namespace.
302+
using Application::Application; // NOLINT
300303

301304
bool ReceiveStreamData(Stream* stream,
302305
const uint8_t* data,

src/quic/transportparams.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#pragma once
22

3-
#include "memory_tracker.h"
43
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
54
#if HAVE_OPENSSL && NODE_OPENSSL_HAS_QUIC
65

0 commit comments

Comments
 (0)