Skip to content

Commit d05696a

Browse files
committed
SocketWrapper: rename setTimeout into setSocketTimeout to avoid shadowing
1 parent 7b95100 commit d05696a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: libraries/SocketWrapper/src/MbedClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,6 @@ uint16_t arduino::MbedClient::remotePort() {
310310
return address.get_port();
311311
}
312312

313-
void arduino::MbedClient::setTimeout(unsigned long timeout) {
313+
void arduino::MbedClient::setSocketTimeout(unsigned long timeout) {
314314
_timeout = timeout;
315315
}

Diff for: libraries/SocketWrapper/src/MbedClient.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class MbedClient : public arduino::Client {
9797
IPAddress remoteIP();
9898
uint16_t remotePort();
9999

100-
void setTimeout(unsigned long timeout);
100+
void setSocketTimeout(unsigned long timeout);
101101

102102
friend class MbedServer;
103103
friend class MbedSSLClient;

0 commit comments

Comments
 (0)