Skip to content

Commit

Permalink
quic: fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed May 8, 2023
1 parent 94f5d5a commit ee923ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/quic/application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ bool Session::Application::Start() {
// By default there is nothing to do. Specific implementations may
// override to perform more actions.
return true;
};
}

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

bool ReceiveStreamData(Stream* stream,
const uint8_t* data,
Expand Down
1 change: 0 additions & 1 deletion src/quic/transportparams.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "memory_tracker.h"
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
#if HAVE_OPENSSL && NODE_OPENSSL_HAS_QUIC

Expand Down

0 comments on commit ee923ac

Please sign in to comment.