Skip to content

Commit 9f68977

Browse files
author
Teppo Järvelin
committed
Cellular: Rebase and fix tests as they got broken in rebase.
1 parent 4bd4042 commit 9f68977

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

features/cellular/UNITTESTS/stubs/SocketAddress_stub.cpp

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ SocketAddress::SocketAddress(const SocketAddress &addr)
7373
{
7474
}
7575

76+
SocketAddress::~SocketAddress()
77+
{
78+
}
79+
7680
bool SocketAddress::set_ip_address(const char *addr)
7781
{
7882
return false;
@@ -123,6 +127,13 @@ SocketAddress::operator bool() const
123127
return false;
124128
}
125129

130+
SocketAddress &SocketAddress::operator=(const SocketAddress &addr)
131+
{
132+
set_addr(addr.get_addr());
133+
set_port(addr.get_port());
134+
return *this;
135+
}
136+
126137
bool operator==(const SocketAddress &a, const SocketAddress &b)
127138
{
128139
return false;

0 commit comments

Comments
 (0)