Skip to content

Commit 82c043e

Browse files
committed
fixup! fixup! fixup! fixup! quic: address review comments
1 parent 993ddb7 commit 82c043e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/quic/defs.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ bool SetOption(Environment* env,
3939
if (!lossless) {
4040
Utf8Value label(env->isolate(), name);
4141
THROW_ERR_OUT_OF_RANGE(
42-
env,
43-
("options." + label.ToString() + " is out of range").c_str());
42+
env, ("options." + label.ToString() + " is out of range").c_str());
4443
return false;
4544
}
4645
} else {

src/quic/transportparams.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ class TransportParams final {
5151
// address and port that the server would prefer the client to use when
5252
// communicating with it. See the QUIC specification for more detail on how
5353
// the preferred address mechanism works.
54-
std::optional<SocketAddress> preferred_address_ipv4 {};
55-
std::optional<SocketAddress> preferred_address_ipv6 {};
54+
std::optional<SocketAddress> preferred_address_ipv4{};
55+
std::optional<SocketAddress> preferred_address_ipv6{};
5656

5757
// The initial size of the flow control window of locally initiated streams.
5858
// This is the maximum number of bytes that the *remote* endpoint can send

0 commit comments

Comments
 (0)