Skip to content

Commit db094cc

Browse files
guhetierCopilot
andcommitted
Fix ServerAcceptContext usage in XdpMapMode test
Now that #6125 changed ServerAcceptContext to take a UniquePtr<TestConnection>*, pass &Server directly instead of casting to TestConnection**. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent f4c05f7 commit db094cc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/test/lib/HandshakeTest.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5045,9 +5045,7 @@ QuicTestXdpMapModeHandshake(
50455045
const uint8_t CibirIdLength = sizeof(CibirId);
50465046

50475047
UniquePtr<TestConnection> Server;
5048-
// TODO guhetier: Fix this
5049-
// ServerAcceptContext ServerAcceptCtx(&Server);
5050-
ServerAcceptContext ServerAcceptCtx((TestConnection**)&Server);
5048+
ServerAcceptContext ServerAcceptCtx(&Server);
50515049
TestListener Listener(Registration, ListenerAcceptConnection, ServerConfiguration);
50525050
TEST_TRUE(Listener.IsValid());
50535051

0 commit comments

Comments
 (0)