Skip to content

Commit 269abff

Browse files
kazutakahirataaokblast
authored andcommitted
[lldb] Remove a redundant call to std::unique_ptr<T>::get (NFC) (llvm#164191)
1 parent 018927a commit 269abff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/unittests/DAP/TestBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void TransportBase::SetUp() {
4545
/*client_name=*/"test_client",
4646
/*transport=*/*to_client, /*loop=*/loop);
4747

48-
auto server_handle = to_server->RegisterMessageHandler(loop, *dap.get());
48+
auto server_handle = to_server->RegisterMessageHandler(loop, *dap);
4949
EXPECT_THAT_EXPECTED(server_handle, Succeeded());
5050
handles[0] = std::move(*server_handle);
5151

0 commit comments

Comments
 (0)