Skip to content

Commit 1aa12e4

Browse files
committed
Minor change to fix failing test
1 parent dad7f87 commit 1aa12e4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/transport/raw/tests/TCPBaseTestAccess.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
#include <transport/raw/TCP.h>
2222
#endif // INET_CONFIG_ENABLE_TCP_ENDPOINT
2323

24-
using namespace chip::Inet;
25-
2624
namespace chip {
2725
namespace Transport {
2826
/**
@@ -39,9 +37,9 @@ class TCPBaseTestAccess
3937
{
4038
return tcp.FindActiveConnection(peerAddress);
4139
}
42-
static TCPEndPoint * GetEndpoint(void * state) { return static_cast<ActiveTCPConnectionState *>(state)->mEndPoint; }
40+
static Inet::TCPEndPoint * GetEndpoint(void * state) { return static_cast<ActiveTCPConnectionState *>(state)->mEndPoint; }
4341

44-
static CHIP_ERROR ProcessReceivedBuffer(TCPImpl & tcp, TCPEndPoint * endPoint, const PeerAddress & peerAddress,
42+
static CHIP_ERROR ProcessReceivedBuffer(TCPImpl & tcp, Inet::TCPEndPoint * endPoint, const PeerAddress & peerAddress,
4543
System::PacketBufferHandle && buffer)
4644
{
4745
return tcp.ProcessReceivedBuffer(endPoint, peerAddress, std::move(buffer));

0 commit comments

Comments
 (0)