1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-23 19:21:59 +03:00

Pass string objects by reference (#5378)

This commit is contained in:
dav1901
2018-11-25 16:18:44 +02:00
committed by Develo
parent 72ad9353fc
commit cd05bae0e8
10 changed files with 15 additions and 15 deletions

View File

@ -36,7 +36,7 @@ public:
~WiFiClientSecure() override;
int connect(IPAddress ip, uint16_t port) override;
int connect(const String host, uint16_t port) override;
int connect(const String& host, uint16_t port) override;
int connect(const char* name, uint16_t port) override;
bool verify(const char* fingerprint, const char* domain_name);