Skip to content

Commit

Permalink
Formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimi1010 committed Jul 10, 2024
1 parent b479b08 commit 6a4c330
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Pcap++/src/PcapRemoteDeviceList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,16 @@ PcapRemoteDeviceList* PcapRemoteDeviceList::getRemoteDeviceList(const IPAddress&

for (pcap_if_t* currInterface = interfaceList.get(); currInterface != nullptr; currInterface = currInterface->next)
{
// clang-format off
auto pNewRemoteDevice = std::unique_ptr<PcapRemoteDevice>(
new PcapRemoteDevice(currInterface, resultList->m_RemoteAuthentication,
resultList->getRemoteMachineIpAddress(), resultList->getRemoteMachinePort()));
new PcapRemoteDevice(
currInterface,
resultList->m_RemoteAuthentication,
resultList->getRemoteMachineIpAddress(),
resultList->getRemoteMachinePort()
)
);
// clang-format on
resultList->m_RemoteDeviceList.pushBack(std::move(pNewRemoteDevice));
}

Expand Down

0 comments on commit 6a4c330

Please sign in to comment.